dogecoinfoundation / libdogecoin

Libdogecoin provides low level C functions useful for building compliant Dogecoin Nodes & Wallets.
MIT License
107 stars 24 forks source link

headersdb_file: updated reorg to find common ancestor with memcmp #190

Closed edtubbs closed 7 months ago

edtubbs commented 8 months ago

Update to dogecoin_headers_db_connect_hdr using memcmp to find common ancestor between forks and main chain for any depth of reorg and test.