Commit Graph

130 Commits

Author SHA1 Message Date
Jon Layton 757c2b93b0 Removed leftovers, added back HEADERS_URL 2018-03-05 20:51:39 -06:00
Jon Layton 75c1b17681 Post-merge fixups, runs, doesnt connect 2018-03-05 20:04:28 -06:00
Jon Layton 0ca9fc8391 Merge remote-tracking branch 'up/master' into HEAD 2018-03-05 19:40:10 -06:00
SomberNight 81b6d65764 refactor network constants 2018-03-04 22:10:59 +01:00
SomberNight 151aa9d135 fix prev; offset is relative to last forking height 2018-02-22 16:59:37 +01:00
SomberNight 02c7524d75 logging: some extra network-related lines 2018-02-22 16:44:22 +01:00
ThomasV 0928ac961a fix #3955: fix interference between verifier and catch_up 2018-02-22 16:33:39 +01:00
Chris Sulmone babb9c0c70 Remove unnecessary conditional for genesis block check 2018-01-17 02:36:29 -06:00
Chris Sulmone eb831374e5 Fixed headers and verification 2018-01-17 02:23:18 -06:00
nxsofsys 0c1865f8b5 fixed target calculation 2018-01-17 05:30:27 +03:00
nxsofsys 6670b94fc0 chunk write fix 2018-01-15 06:11:35 +03:00
nxsofsys 37dbdb4c3e Merge remote-tracking branch 'origin/develop' into zcl_header_chunks
# Conflicts:
#	lib/bitcoin.py
2018-01-15 04:32:37 +03:00
nxsofsys b2d6e083b4 new chunk size 2018-01-15 04:26:03 +03:00
nxsofsys 34150e8245 header validation 2018-01-14 23:12:30 +03:00
nxsofsys 7980846f72 validating temporary disabled for test env 2018-01-14 22:14:59 +03:00
nxsofsys 98a80f6e43 stuck at equihash validate 2018-01-14 22:07:05 +03:00
nxsofsys c1601fd749 code drop 2018-01-14 20:04:59 +03:00
Jon Layton 7cedefddeb Add (truncated) powLimit / MAX_TARGET 2018-01-13 22:34:27 -05:00
Chris Sulmone c6be316e10 Ported encoding/decoding of blocks to python3.5 based of the latest electrum 3.0.5 release 2018-01-13 16:50:41 -05:00
ThomasV c8e67e2bd0 fix #3635 2018-01-13 17:09:25 +01:00
pooler 8bcefe6cfa Fix Blockchain.get_target() 2018-01-08 21:48:09 +01:00
ThomasV de01008992 blockchain: do not load forks that cannot connect to the main headers file 2017-12-13 13:43:51 +01:00
ThomasV 44a83c2401 read checkpoints file in NetworkConstants, add it to setup.py 2017-12-12 11:10:50 +01:00
ThomasV d1b8a6fae6 Replace initial headers download with hardcoded checkpoints 2017-12-12 10:20:44 +01:00
SomberNight c65d01ea96 file i/o: use 'with' keyword 2017-11-12 14:33:46 +01:00
SomberNight 0db5ea67a0 bitcoin.NetworkConstants: easier changing between testnet and mainnet 2017-11-09 17:47:57 +01:00
ThomasV ab15ff3a00 updates for python3 2017-08-26 08:28:24 +02:00
ThomasV bc591377e8 python3: fix integer division 2017-08-26 08:28:24 +02:00
Dmitry Sorokin f02d18226b misc ui and lib fixes for py3 2017-08-26 08:27:47 +02:00
Dmitry Sorokin 5be78950ca py3 2017-08-26 08:27:47 +02:00
ThomasV 5872bd4722 force new headers download if file is corrupted 2017-08-03 14:25:50 +02:00
ThomasV 882e259a78 sanity check read_header 2017-08-01 11:00:12 +02:00
ThomasV 94f7a87e47 remove dead code 2017-07-25 18:57:34 +02:00
ThomasV 810f107229 follow-up commit 5f3e5866ad 2017-07-25 18:47:36 +02:00
ThomasV 5f3e5866ad blockchain write method, that flushes file 2017-07-25 10:03:15 +02:00
ThomasV d71c9d5be3 make blockchain.size() threadsafe 2017-07-24 15:54:42 +02:00
ThomasV ce977e0385 fix parent_branch_size in blockchain swap 2017-07-21 09:02:58 +02:00
ThomasV 313d53fe0b save header immediately when forking a chain 2017-07-21 07:52:38 +02:00
ThomasV dd0d85b4f2 fix headers path for android 2017-07-20 21:28:27 +02:00
ThomasV ca33ffaf77 store fork headers in separate directory 2017-07-20 15:29:22 +02:00
ThomasV c522c6b4d0 blockchain: store reference to parent_id instead of parent, so that it gets updated after swap 2017-07-20 15:05:47 +02:00
ThomasV c3615d0aa7 fix: rename files affected by chain swap 2017-07-20 11:36:59 +02:00
ThomasV ab5a9f3ce4 fix: order files in save_chunk too 2017-07-20 07:56:54 +02:00
ThomasV feb0f483f5 fix bug if headers file is empty 2017-07-19 17:23:46 +02:00
ThomasV 7a8f337d28 fix: swap parent 2017-07-19 14:26:44 +02:00
ThomasV ac1ceb44ba blockchain: remove filename field 2017-07-19 11:26:13 +02:00
ThomasV 47e3630dd5 always save headers on disk 2017-07-19 11:23:10 +02:00
ThomasV b424a83a57 add blockchain.get_name method, update kivy gui 2017-07-19 09:29:20 +02:00
ThomasV 0b6d7dbbc9 fix swap 2017-07-19 06:46:37 +02:00
ThomasV afda151bc6 fix get_branch_size 2017-07-19 06:24:53 +02:00