Commit 97c359a3 authored by Michael de Hoog's avatar Michael de Hoog

Add comments for new variables

parent 92faa64c
...@@ -32,10 +32,12 @@ type channelManager struct { ...@@ -32,10 +32,12 @@ type channelManager struct {
// last block hash - for reorg detection // last block hash - for reorg detection
tip common.Hash tip common.Hash
// Pending data returned by TxData waiting on Tx Confirmed/Failed // channel to write new block data to
currentChannel *channel currentChannel *channel
channelQueue []*channel // channels to read frame data from, for writing batches onchain
txChannels map[txID]*channel channelQueue []*channel
// used to lookup channels by tx ID upon tx success / failure
txChannels map[txID]*channel
// if set to true, prevents production of any new channel frames // if set to true, prevents production of any new channel frames
closed bool closed bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment