Commit graph

104 commits

Author SHA1 Message Date
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
ThomasV
6ee0ad8499 fix: swap 2017-07-19 05:45:41 +02:00
ThomasV
a39e270bd3 test height 2017-07-18 21:32:34 +02:00
ThomasV
50ad656c87 blockchain: swap a chain with its parent, if the parent branch is too short to be saved on disk 2017-07-18 18:10:22 +02:00
ThomasV
702abf6581 simplification: do not request checkpoint, check headers against all known blockchains 2017-07-17 19:32:10 +02:00
ThomasV
b0277d5426 blockchain: size method, various fixes 2017-07-17 08:44:09 +02:00
ThomasV
b2116d87ea minor fix 2017-07-16 08:07:47 +02:00
ThomasV
43c5657cb6 blockchain: parent pointer and recursive methods 2017-07-15 17:20:06 +02:00
ThomasV
cf84068fdb blockchain fixes 2017-07-15 13:51:40 +02:00
ThomasV
8834ed9714 fix blockchain.height() 2017-07-15 11:59:05 +02:00
ThomasV
37143fd628 fix blockchain offset 2017-07-14 06:20:05 +02:00
ThomasV
bf7deaa1fb remove blockchain fork detection threshold 2017-07-13 16:23:41 +02:00
ThomasV
ca220d8dbb Detect blockchain splits and validate multiple chains 2017-06-21 09:48:31 +02:00
ThomasV
075dfb5ccb separate truncate_headers for debugging 2017-05-19 08:55:40 +02:00
ThomasV
6321b14f9f Locate blockchain connection point with binary search 2017-05-13 11:19:36 +02:00
ThomasV
1b14a18b1a sanitize pass_checkpoint 2017-03-30 05:55:02 +02:00
ThomasV
d371e1c807 network: request checkpoint when opening a new connection 2017-03-29 17:21:18 +02:00
ThomasV
2fcdd458b3 add checkpoint dialog to the kivy gui 2017-03-27 12:48:10 +02:00
ThomasV
e6560b8d7f fix moe used for truncate 2017-03-27 00:46:44 +02:00
ThomasV
9c70540a2f add BIP9 and segwit_support methods 2017-03-25 11:09:24 +01:00
ThomasV
dd0b018a35 add configurable checkpoint to blockchain verification; use genesis as default 2017-03-23 11:58:56 +01:00
Neil Booth
8888a50549 Add support for BU's nolnet
Also update testnet servers
Add missing self. in print_error call
2017-03-04 11:01:32 +09:00
ThomasV
1358bebd37 network: do not wait for headers file on startup 2017-01-07 23:44:06 +01:00
ThomasV
4d41c36cbb add headers url for testnet 2017-01-07 18:39:41 +01:00
ThomasV
d042d6e970 initial testnet support (petrkr) 2017-01-07 16:58:59 +01:00
ThomasV
8249f5ab67 init_headers in daemon thread, and fix #1996 2016-10-24 14:57:02 +02:00
ThomasV
4c7bbb4e86 android: move wallet data to internal storage. 2016-03-08 08:10:38 +01:00