115 Commits (b02252d664128b117fc6d6608f8f11b94fb329bb)

Author SHA1 Message Date
SomberNight 81b6d65764 refactor network constants 7 years ago
SomberNight 151aa9d135 fix prev; offset is relative to last forking height 7 years ago
SomberNight 02c7524d75 logging: some extra network-related lines 7 years ago
ThomasV 0928ac961a fix #3955: fix interference between verifier and catch_up 7 years ago
ThomasV c8e67e2bd0 fix #3635 7 years ago
pooler 8bcefe6cfa Fix Blockchain.get_target() 7 years ago
ThomasV de01008992 blockchain: do not load forks that cannot connect to the main headers file 7 years ago
ThomasV 44a83c2401 read checkpoints file in NetworkConstants, add it to setup.py 7 years ago
ThomasV d1b8a6fae6 Replace initial headers download with hardcoded checkpoints 7 years ago
SomberNight c65d01ea96 file i/o: use 'with' keyword 7 years ago
SomberNight 0db5ea67a0 bitcoin.NetworkConstants: easier changing between testnet and mainnet 7 years ago
ThomasV ab15ff3a00 updates for python3 8 years ago
ThomasV bc591377e8 python3: fix integer division 8 years ago
Dmitry Sorokin f02d18226b misc ui and lib fixes for py3 8 years ago
Dmitry Sorokin 5be78950ca py3 8 years ago
ThomasV 5872bd4722 force new headers download if file is corrupted 7 years ago
ThomasV 882e259a78 sanity check read_header 7 years ago
ThomasV 94f7a87e47 remove dead code 7 years ago
ThomasV 810f107229 follow-up commit 5f3e5866ad 7 years ago
ThomasV 5f3e5866ad blockchain write method, that flushes file 7 years ago
ThomasV d71c9d5be3 make blockchain.size() threadsafe 7 years ago
ThomasV ce977e0385 fix parent_branch_size in blockchain swap 7 years ago
ThomasV 313d53fe0b save header immediately when forking a chain 7 years ago
ThomasV dd0d85b4f2 fix headers path for android 7 years ago
ThomasV ca33ffaf77 store fork headers in separate directory 7 years ago
ThomasV c522c6b4d0 blockchain: store reference to parent_id instead of parent, so that it gets updated after swap 7 years ago
ThomasV c3615d0aa7 fix: rename files affected by chain swap 7 years ago
ThomasV ab5a9f3ce4 fix: order files in save_chunk too 7 years ago
ThomasV feb0f483f5 fix bug if headers file is empty 7 years ago
ThomasV 7a8f337d28 fix: swap parent 7 years ago
ThomasV ac1ceb44ba blockchain: remove filename field 7 years ago
ThomasV 47e3630dd5 always save headers on disk 7 years ago
ThomasV b424a83a57 add blockchain.get_name method, update kivy gui 7 years ago
ThomasV 0b6d7dbbc9 fix swap 7 years ago
ThomasV afda151bc6 fix get_branch_size 7 years ago
ThomasV 6ee0ad8499 fix: swap 7 years ago
ThomasV a39e270bd3 test height 7 years ago
ThomasV 50ad656c87 blockchain: swap a chain with its parent, if the parent branch is too short to be saved on disk 7 years ago
ThomasV 702abf6581 simplification: do not request checkpoint, check headers against all known blockchains 7 years ago
ThomasV b0277d5426 blockchain: size method, various fixes 7 years ago
ThomasV b2116d87ea minor fix 7 years ago
ThomasV 43c5657cb6 blockchain: parent pointer and recursive methods 7 years ago
ThomasV cf84068fdb blockchain fixes 7 years ago
ThomasV 8834ed9714 fix blockchain.height() 7 years ago
ThomasV 37143fd628 fix blockchain offset 7 years ago
ThomasV bf7deaa1fb remove blockchain fork detection threshold 7 years ago
ThomasV ca220d8dbb Detect blockchain splits and validate multiple chains 8 years ago
ThomasV 075dfb5ccb separate truncate_headers for debugging 8 years ago
ThomasV 6321b14f9f Locate blockchain connection point with binary search 8 years ago
ThomasV 1b14a18b1a sanitize pass_checkpoint 8 years ago