practicalswift
64fb0ac016
Declare single-argument (non-converting) constructors "explicit"
...
In order to avoid unintended implicit conversions.
7 years ago
practicalswift
cc16d99f1d
[trivial] Fix typos in comments
8 years ago
Matt Corallo
fac4c78028
Make PartiallyDownloadedBlock::InitData's second param const
8 years ago
Matt Corallo
b55b416346
Add extra_count lower bound to compact reconstruction debug print
8 years ago
Matt Corallo
93380c5247
Use replaced transactions in compact block reconstruction
8 years ago
Pieter Wuille
6713f0f142
Make FillBlock consume txn_available to avoid shared_ptr copies
8 years ago
Pieter Wuille
b4e4ba475a
Introduce convenience type CTransactionRef
8 years ago
Pieter Wuille
1662b437b3
Make CBlock::vtx a vector of shared_ptr<CTransaction>
8 years ago
Pieter Wuille
528472111b
Get rid of nType and nVersion
...
Remove the nType and nVersion as parameters to all serialization methods
and functions. There is only one place where it's read and has an impact
(in CAddress), and even there it does not impact any of the recursively
invoked serializers.
Instead, the few places that need nType or nVersion are changed to read
it directly from the stream object, through GetType() and GetVersion()
methods which are added to all stream classes.
8 years ago
Suhas Daftuar
88c35491ab
Fix compact block handling to not ban if block is invalid
8 years ago
Pieter Wuille
6aa28abf53
Use cmpctblock type 2 for segwit-enabled transfer
...
Contains version negotiation logic by Matt Corallo and bugfixes by
Suhas Daftuar.
8 years ago
Pavel Janík
cce3024c23
Do not shadow local variable, cleanup
9 years ago
Matt Corallo
56ba516727
Add reconstruction debug logging
9 years ago
Matt Corallo
85ad31ede7
Add partial-block block encodings API
9 years ago