ghost43
9b7a449057
util.make_dir: 0o700 permissions on folders ( #4357 )
7 years ago
SomberNight
51d047a35e
fix #4375
7 years ago
Harm Aarts
812d570ee2
Rename method to reflect its goal
Answer the question *what* problem the method solves. Not *how* it is
solving it.
7 years ago
Harm Aarts
d0d39e534e
Make side effect explicit
The removed method didn't allude to the fact it was adding the generated
hash to a dictionary. This was problematic since the code base now
seemingly had two methods for converting an address to a scripthash. One
in the network module and one in the (logical) bitcoin module.
7 years ago
SomberNight
7b50790584
do not raise BaseException
7 years ago
SomberNight
76e67daadd
changed some asserts to raise-exceptions in lib
7 years ago
SomberNight
fa91cbf762
network - send_subscriptions: copy subscribed_addresses before iterating
see #4146
(this should at least avoid the RuntimeError)
7 years ago
SomberNight
9b7536e75c
use explicit utf-8 encoding when opening files in text mode
7 years ago
SomberNight
c79de3ab3c
fix #4139
7 years ago
SomberNight
08aee6a857
logging - use self.print_error instead of util.print_error
7 years ago
SomberNight
81b6d65764
refactor network constants
7 years ago
SomberNight
0df6d1ec97
trezor: segwit offline signing
7 years ago
ThomasV
d38a50b119
fix #3922 : wrong parameter passed to connection_down
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
c3f3843cc3
Add memory pool based fee estimates
- fee estimates can use ETA or mempool
- require protocol version 1.2
- remove fee_unit preference
7 years ago
ThomasV
98daf2c7cc
network: send version first
7 years ago
ThomasV
35878b437a
network: send version first
7 years ago
SomberNight
fbad16b95c
revert adding handling of 'blockchain.address.subscribe' in network.py
7 years ago
SomberNight
5ec3d2888f
websocket: migrate to scripthashes
7 years ago
SomberNight
1c10d5dce1
remove --nossl option (follow-up dc388d4c7c
)
7 years ago
ThomasV
c8e67e2bd0
fix #3635
7 years ago
SomberNight
fc574ee514
fix #3578
7 years ago
ThomasV
4bab8b63e1
fix too short headers file
7 years ago
ThomasV
dc388d4c7c
replace SSL checkbox in GUI with command line option
7 years ago
ThomasV
83da45a7d2
Add checkpoints file for testnet. Check that received headers are after max_checkpoint
7 years ago
ThomasV
44a83c2401
read checkpoints file in NetworkConstants, add it to setup.py
7 years ago
ThomasV
40e13224f7
follow-up d1b8a6fae6
7 years ago
ThomasV
d1b8a6fae6
Replace initial headers download with hardcoded checkpoints
7 years ago
Justin Turner Arthur
857eb4ac1d
Remove unused imports. Explicitly import a few deep imports.
7 years ago
Justin Turner Arthur
9a0aa9b478
Remove Python 2 support imports.
7 years ago
SomberNight
0db5ea67a0
bitcoin.NetworkConstants: easier changing between testnet and mainnet
7 years ago
ThomasV
3b8c8c712d
fix #3038
7 years ago
SomberNight
8025d81ec0
fix #3035
7 years ago
SomberNight
0510bdb85b
fix: missing import 'stat' in network.py and simple_config.py
7 years ago
ThomasV
031b911dce
fix cache with h2addr
7 years ago
SomberNight
f80d8b02ca
Periodically poll fee estimates from server.
7 years ago
SomberNight
0e89745c2b
send server.version before subscriptions
7 years ago
SomberNight
efd07f727a
fix testnet
7 years ago
ThomasV
c5f552f26a
rm dead code
7 years ago
ThomasV
8b0db38f87
follow-up 3d4c64f9e
7 years ago
ThomasV
68873d92f9
implement scripthash logic
7 years ago
ThomasV
8c5b6bdaf3
Read default server list from file. Update list with 1.1 servers. Remove nolnet option.
7 years ago
WakiyamaP
0791b469e7
fix download failed blockchain headers
7 years ago
ThomasV
70af22c9e4
update scripts/servers to display server version
7 years ago
ThomasV
216e9403be
cleanup six (no python2 support)
7 years ago
ThomasV
5f1d9cbcf5
separate network layer from synchronizer
7 years ago
ThomasV
e02687bcf2
python3 updates
8 years ago
ThomasV
ab15ff3a00
updates for python3
8 years ago
ThomasV
65aeb0bd3c
fix 5e7169bf355f2ac3ec8791c4768f0cd971e1640d
8 years ago