LBRY-Vault/electrum
SomberNight a8e6eaa247
blockchain: fix difficulty retarget
"target" is a 256 bit int, but the "bits" field in the block headers
that is used to represent target is only 32 bits.
We were checking PoW against the untruncated target value, which is a
slightly larger value than the one that can actually be represented,
and hence we would have accepted a slightly lower difficulty chain
than what the consensus requires.
2018-11-22 16:52:51 +01:00
..
gui history export: include tx fee 2018-11-18 16:46:07 +01:00
plugins wizard/hw: show transport type when listing HWDs 2018-11-16 19:03:25 +01:00
scripts follow-up prev 2018-11-02 20:37:37 +01:00
tests bitcoin/ecc: some more type annotations 2018-11-18 22:07:27 +01:00
wordlist file reorganization with top-level module 2018-07-13 14:01:37 +02:00
__init__.py expose electrum version as __version__ 2018-10-31 16:21:04 +01:00
address_synchronizer.py history export: include tx fee 2018-11-18 16:46:07 +01:00
base_crash_reporter.py small import clean-up 2018-10-11 16:30:30 +02:00
base_wizard.py wizard/hw: show transport type when listing HWDs 2018-11-16 19:03:25 +01:00
bip32.py wizard: make native segwit (bech32) the default for bip39/hw 2018-11-08 13:01:40 +01:00
bitcoin.py bitcoin/ecc: some more type annotations 2018-11-18 22:07:27 +01:00
blockchain.py blockchain: fix difficulty retarget 2018-11-22 16:52:51 +01:00
checkpoints.json blockchain: fix difficulty retarget 2018-11-22 16:52:51 +01:00
checkpoints_testnet.json file reorganization with top-level module 2018-07-13 14:01:37 +02:00
coinchooser.py RBF batching: some fixes 2018-11-09 17:56:42 +01:00
commands.py wallet: make importing thousands of addr/privkeys fast 2018-10-27 17:36:10 +02:00
constants.py move max_checkpoint from network to constants 2018-09-09 05:00:09 +02:00
contacts.py openalias: minor clean-up 2018-10-29 17:09:23 +01:00
crypto.py crypto: more type annotations 2018-11-10 13:30:34 +01:00
currencies.json file reorganization with top-level module 2018-07-13 14:01:37 +02:00
daemon.py decorate some methods with @profiler to debug slow startup 2018-11-16 14:39:22 +01:00
dnssec.py dnssec: trivial clean-up 2018-10-14 04:23:42 +02:00
ecc.py bitcoin/ecc: some more type annotations 2018-11-18 22:07:27 +01:00
ecc_fast.py ecc_fast: clarify fallback message 2018-08-17 16:01:03 +02:00
electrum file reorganization with top-level module 2018-07-13 14:01:37 +02:00
exchange_rate.py more type annotations in core lib 2018-10-22 16:41:25 +02:00
i18n.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
interface.py PrintError: display verbosity filter 2018-11-14 13:16:08 +01:00
jsonrpc.py small import clean-up 2018-10-11 16:30:30 +02:00
keystore.py rename crypto.Hash to sha256d 2018-10-25 22:28:24 +02:00
mnemonic.py bitcoin/ecc: some more type annotations 2018-11-18 22:07:27 +01:00
msqr.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
network.py network: oneserver should be bool 2018-11-20 11:59:06 +01:00
old_mnemonic.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
paymentrequest.proto file reorganization with top-level module 2018-07-13 14:01:37 +02:00
paymentrequest.py bitcoin/ecc: some more type annotations 2018-11-18 22:07:27 +01:00
paymentrequest_pb2.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
pem.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
plot.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
plugin.py wizard/hw: show transport type when listing HWDs 2018-11-16 19:03:25 +01:00
qrscanner.py follow-up prev 2018-09-04 16:42:08 +02:00
ripemd.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
rsakey.py Remove unreachable return statement 2018-09-19 11:35:29 +02:00
segwit_addr.py file reorganization with top-level module 2018-07-13 14:01:37 +02:00
servers.json network: update hardcoded mainnet servers 2018-11-02 20:38:26 +01:00
servers_regtest.json file reorganization with top-level module 2018-07-13 14:01:37 +02:00
servers_testnet.json file reorganization with top-level module 2018-07-13 14:01:37 +02:00
simple_config.py config: reject non-json-serialisable writes 2018-10-21 14:58:55 +02:00
storage.py storage: add a sanity check 2018-10-26 19:31:20 +02:00
synchronizer.py fix most "scripts" 2018-11-02 20:14:59 +01:00
transaction.py paymentrequest: be explicit about only allowing "addresses" 2018-11-14 16:04:43 +01:00
util.py history export: include tx fee 2018-11-18 16:46:07 +01:00
verifier.py rename crypto.Hash to sha256d 2018-10-25 22:28:24 +02:00
version.py aiorpcx: remove callback based code, add session to Interface 2018-09-06 14:17:29 +02:00
wallet.py history export: include tx fee 2018-11-18 16:46:07 +01:00
websockets.py more type annotations in core lib 2018-10-22 16:41:25 +02:00
x509.py small import clean-up 2018-10-11 16:30:30 +02:00