J62
ee7c6c7813
update to btcp params
2019-12-24 20:11:00 -08:00
J62
9a7843d0f1
btcp-ify
2019-12-24 03:21:35 -08:00
Parth Oberoi
2a5b295f94
Patch electrum to support Bubbles network upgrade ( #17 )
...
* Patch electrum to support Bubbles network upgrade
Summary
=======
- Handle dynamic header size
- Update the branch id used for signing the transaction
- Handle verification of blocks following the difficulty adjustment
- Update block explorers link
- Add new electrum server ip
2019-09-13 18:13:27 +05:30
Parth Oberoi
d874102488
Fix header length check for 192_7 and update bubbles network upgrade branch
2019-09-08 02:18:10 +05:30
skellers
2faea7b5bd
Bitcoin to ZClassic
2019-03-16 19:05:28 +00:00
zebra-lucky
db76b3862a
fix bits_to_target on testnet
2018-07-25 02:34:00 +03:00
zebra-lucky
fcc7de66cd
fix blockchain headers/checkpoints code
2018-07-25 02:33:54 +03:00
zebra-lucky
e196cc205b
add headers init via checkpoints.json
2018-06-28 18:09:34 +03:00
zebra-lucky
d06e6aa67e
add command exportcp to export checkpoints
...
Also exported additional 17 headers on last checkpoint
to provide data for get_target blockchain method
2018-06-28 18:09:34 +03:00
zebra-lucky
4aea667280
Zcash changes to lib/(network|blockchain).py
2018-06-28 18:09:34 +03:00
zebra-lucky
b75dbe65c9
add lib changes from electrum 3.1.3
...
- Add electrum 3.1.3 changes to lib, lib/tests.
- Get new electrum 3.1.3 lib/constants.py, add Zcash changes.
- Get original electrum 3.1.3 lib/blockchain.py (will be
- modified in next commits).
- Remove debian/ lib-util patch (fixed in 3.1.3 code).
- Remove lib/www (as in 3.1.3).
2018-06-28 18:09:11 +03:00
zebra-lucky
a05e9f21d7
remove default mutalbe antipattern
2018-06-06 19:58:37 +03:00
zebra-lucky
26cf6d6b78
calculate next target in each block
2018-04-02 02:31:13 +03:00
zebra-lucky
387c77b185
add Zcash specific to lib/(bitocin|blockchain|network).py
2018-03-20 22:27:48 +02:00
zebra-lucky
fc0d01ec2c
remove segwit from lib
2018-03-10 22:50:36 +02: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
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