diff options
| author | Pieter Wuille <[email protected]> | 2016-01-03 18:54:50 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-06-22 15:43:00 +0200 |
| commit | 2b1f6f9ccf36f1e0a2c9d99154e1642f796d7c2b (patch) | |
| tree | 30b17fa55ea6c9ae0055c0c16d2e271a0c799d16 /src/primitives/block.h | |
| parent | [RPC] Return witness data in blockchain RPCs (diff) | |
| download | discoin-2b1f6f9ccf36f1e0a2c9d99154e1642f796d7c2b.tar.xz discoin-2b1f6f9ccf36f1e0a2c9d99154e1642f796d7c2b.zip | |
BIP141: Other consensus critical limits, and BIP145
Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
Diffstat (limited to 'src/primitives/block.h')
| -rw-r--r-- | src/primitives/block.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/primitives/block.h b/src/primitives/block.h index 29307aed5..e2a309e63 100644 --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -154,4 +154,7 @@ struct CBlockLocator } }; +/** Compute the consensus-critical block cost (see BIP 141). */ +int64_t GetBlockCost(const CBlock& tx); + #endif // BITCOIN_PRIMITIVES_BLOCK_H |