practicalswift
dbf30ff10f
[trivial] Fix typos in comments
8 years ago
Matt Corallo
1ccfe9b1c9
Clarify comment about mempool/extra conflicts
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
Matt Corallo
76faa3cdfe
Rename the remaining main.{h,cpp} to validation.{h,cpp}
8 years ago
fsb4000
15fa95d7e5
Fix some typos
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
657e05ab2e
Make GetSerializeSize a wrapper on top of CSizeComputer
...
Given that in default GetSerializeSize implementations created by
ADD_SERIALIZE_METHODS we're already using CSizeComputer(), get rid
of the specialized GetSerializeSize methods everywhere, and just use
CSizeComputer. This removes a lot of code which isn't actually used
anywhere.
For CCompactSize and CVarInt this actually removes a more efficient
size computing algorithm, which is brought back in a later commit.
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
leijurv
1aacfc2da5
various typos
8 years ago
Pieter Wuille
2b1f6f9ccf
BIP141: Other consensus critical limits, and BIP145
...
Includes changes by Suhas Daftuar, Luke-jr, and mruddy.
9 years ago
Pieter Wuille
ccd06b94f6
Elaborate bucket size math
9 years ago
Matt Corallo
0d4cb48ef1
Use vTxHashes to optimize InitData significantly
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