Skip to content

Commit 4ef75f1

Browse files
committed
Comments.
1 parent 3af875c commit 4ef75f1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/protocols/protocol_electrum.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ void protocol_electrum::handle_blockchain_headers_subscribe(const code& ec,
120120
header->to_data(writer);
121121
BC_ASSERT(writer);
122122

123-
// TODO: subscribe to block confirmation (idempotent).
124-
// TODO: upon notification send just the notifying header.
125-
// TODO: it is client responsiblity to deal with reorgs and race gaps.
123+
// TODO: idempotent subscribe to chase::organized via session/chaser/node.
124+
// TODO: upon notification send just the header notified by the link.
125+
// TODO: it is client responsibility to deal with reorgs and race gaps.
126126
send_result(value_t
127127
{
128128
object_t
@@ -142,7 +142,7 @@ void protocol_electrum::handle_blockchain_estimate_fee(const code& ec,
142142

143143
// TODO: estimate fees from blocks based on expected block inclusion.
144144
// TODO: this can be computed from recent blocks and cached by the server.
145-
// TODO: update the cache before boradcasting header notifications.
145+
// TODO: update the cache before broadcasting header notifications.
146146
send_result(number, 70, BIND(complete, _1));
147147
}
148148

0 commit comments

Comments
 (0)