Neil Booth
4d62019b07
Check Genesis hash
Testnet RPC_PORT is 18332
8 years ago
Neil Booth
852753cb94
Implement deserialization of SegWit transactions
tx_hash needs to be that of the prior serialization, so
need to change internal read_block API.
Bitcoin core 0.13.1 broke backwards compat of the RPC interface.
Closes #92
8 years ago
Neil Booth
7f9cb9cd9d
Generic header length
If header lengths change in the future, only one function needs
to change in coins.py.
8 years ago
Neil Booth
2b2909f1c4
Move to hashX
The hashX of a script is the first 11 bytes of its sha256 hash.
Closes #72 .
8 years ago
Neil Booth
de201a247f
Double fetch size of mempool.
Set testnet genesis hash.
8 years ago
Neil Booth
8bd2e7ee06
Add constants for bitcoin testnet
8 years ago
Neil Booth
c6be118bab
Tweak Litecoin settings
8 years ago
Santzi
f1911140ef
Updated Litecoin mainnet parameters
8 years ago
Neil Booth
59733e4609
Move bitcoin-specific coin defaults to Bitcoin
8 years ago
TheLazieR Yip
dfaf36ae16
Remove header_hashes
8 years ago
TheLazieR Yip
6b63ecb439
Add header_hash and header_prevhash class methods
8 years ago
TheLazieR Yip
f075f0bb5f
Add coin's IRC parameters
8 years ago
TheLazieR Yip
5aae539476
Add DEFAULT_RPC_PORT for DASH
8 years ago
Neil Booth
87cdd2709d
Implement daemon failover
Daemon URLs can be comma-separated in the DAEMON_URL env var.
Surrounding whitespace is stripped.
http:// is preprended if missing.
The coin's default port is supplied if missing.
A trailing / is supplied if missing.
Closes #33
8 years ago
Neil Booth
66c493dbf4
Make the default reorg_limit a coin property
8 years ago
Neil Booth
85786b87a2
Save all UTXOs
Change the DB version
8 years ago
Neil Booth
fdb5b33fba
Prepare 0.4.2
8 years ago
TheLazieR Yip
66bf2570e5
Move dash stuff into Dash class
Modify DashTestnet class to use Dash class
8 years ago
TheLazieR Yip
ff834519aa
Update for DASH
- Update information for both mainnet and testnet
- Use x11_hash module when network name is Dash to process header_hashes
8 years ago
Neil Booth
e7a516c46e
Need to catch script errors
8 years ago
Neil Booth
e2ef9dceaf
Rework assertion logic in coins.py
8 years ago
Neil Booth
3ab07c1fb6
Speed up script parsing for ~3% faster throughput
Also improves the coin abstraction
8 years ago
Neil Booth
c0568daec3
Rework the DB API a bit
8 years ago
Neil Booth
be2475f617
Handle utxo.get_address
8 years ago
Neil Booth
ceecdc54ac
Server work
Avoid touching the block preprocessor hot loop for now
8 years ago
Neil Booth
d2ebb80fac
Extend copyright notice; improve comments
8 years ago
Neil Booth
30d1b7f77c
Add proper block chaining check
8 years ago
Neil Booth
6b513a91d0
CACHE_MB is now the environment var.
8 years ago
Neil Booth
3fce298835
Better time est. A couple of fixes.
8 years ago
Neil Booth
d8e9eb7796
Accurate cache accounting
8 years ago
Neil Booth
6644102441
Use hash168 to distinguish address types in DB
8 years ago
Neil Booth
ca11710fdd
Print balance in query tool
8 years ago
Neil Booth
64b7554b73
Fix some typos
8 years ago
Neil Booth
a3dbc68614
Initial revision
8 years ago