Skip to content

Commit 7354bd9

Browse files
Merge pull request ipld#127 from filecoin-project/feat/add_channel_msg_cid
Add ChannelMsgCid to PaymentInfo network data structure
2 parents 9cd6cea + e5437a3 commit 7354bd9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

network-protocols.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ type PaymentInfo struct {
115115
// use to pay the miner. It must already have sufficient funds locked up
116116
Channel ChannelID
117117

118+
// ChannelMsgCid is the B58 encoded CID of the message used to create the
119+
// channel. Adding the message cid allows the miner to wait until the
120+
// channel is accepted on chain.
121+
ChannelMsgCid cid.Cid
122+
118123
// Vouchers is a set of payments from the client to the miner that can be
119124
// cashed out contingent on the agreed upon data being provably within a
120125
// live sector in the miners control on-chain

0 commit comments

Comments
 (0)