Skip to content

Instantly share code, notes, and snippets.

View bitPico's full-sized avatar

ɃitPico bitPico

View GitHub Profile
@bitPico
bitPico / gist:904352bd356baff866093de57c8caa23
Created June 27, 2018 03:43
Bitcoin ABC Large Block ZeroDay Vulnerability - 01
static bool ConnectBlock(const Config &config, const CBlock &block,
CValidationState &state, CBlockIndex *pindex,
CCoinsViewCache &view, bool fJustCheck = false) {
==> AssertLockHeld(cs_main);
// ...
==> if (!control.Wait()) {
return state.DoS(100, false, REJECT_INVALID, "blk-bad-inputs", false,