Skip to content

Commit de03b82

Browse files
committed
Comments.
1 parent 5de742a commit de03b82

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/chain/block.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,7 @@ code block::confirm(const context& ctx) const NOEXCEPT
952952

953953
// forks
954954

955+
// This assumes that prevout caching is completed on all inputs.
955956
code block::connect(const context& ctx) const NOEXCEPT
956957
{
957958
return connect_transactions(ctx);

src/chain/transaction.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,6 +1343,7 @@ code transaction::confirm(const context& ctx) const NOEXCEPT
13431343
// forks
13441344

13451345
// Do not need to invoke on coinbase.
1346+
// This assumes that prevout caching is completed on all inputs.
13461347
code transaction::connect(const context& ctx) const NOEXCEPT
13471348
{
13481349
////BC_ASSERT(!is_coinbase());

0 commit comments

Comments
 (0)