Neil Booth
f89cea536c
Require Electrum protocol at least 1.4
6 years ago
Calin Culianu
00c2981b4e
Allow protocol versions and client versions to contain extra text ( #718 )
* Allow protocol versions and client versions to contain extra text
E.g. 3.3.4CS client version is accepted and treated as 3.3.4
* added tests
6 years ago
Neil Booth
e3e915323c
Revert "Require Electrum protocol at least 1.4"
This reverts commit 9bc102f34a
.
6 years ago
zebra-lucky
aad082e9c3
dash_tx: serialize port as big endian ( #707 )
6 years ago
peerchemist
dd84b8f172
Peercoin tests ( #703 )
* add Peercoin-testnet
* add Peercoin tests
6 years ago
Neil Booth
9bc102f34a
Require Electrum protocol at least 1.4
6 years ago
Neil Booth
5f4d7d9b5f
More of prior
6 years ago
zebra-lucky
88618f5f60
Enhance dash spec tx support ( #657 )
6 years ago
zebra-lucky
bf279ceaea
add DIP2 aware DeserializerDash ( #651 )
6 years ago
rc125
acd414460b
Add SmartCash Support ( #640 )
6 years ago
Gabriel
3a33675e11
Add TokenPay ( #495 )
This commit adds TokenPay as a supported coin.
7 years ago
FABIANO S CUNHA
f5b3df9092
Add support for pivxTestnet ( #585 )
7 years ago
FABIANO S CUNHA
6dd7049339
Add support for BitcoinGreen ( #581 )
* Add support for BitcoinGreen
7 years ago
Neil Booth
33535ae325
Add test for BCH electrum header
7 years ago
John L. Jegutanis
47d9fb4b30
Use compiled structs and some code cleanup
7 years ago
John L. Jegutanis
fa0a58a280
Rename struct pack/unpack to reflect endianess
7 years ago
Neil Booth
4329724b98
Implement TX serialization
This will be used in other tests
7 years ago
Neil Booth
8b34de53f9
Add some utility functions and tests
7 years ago
Neil Booth
54e8b032d1
Implement TX serialization
This will be used in other tests
7 years ago
Neil Booth
450eec89fb
Add some utility functions and tests
7 years ago
Neil Booth
0bbfb0b2e7
Implement TX serialization
This will be used in other tests
7 years ago
Neil Booth
471f50787f
Add some utility functions and tests
7 years ago
Neil Booth
1efc8cb8ec
Make the merkle cache and read_headers async
read_headers runs in a thread to avoid blocking
7 years ago
Neil Booth
e5b2268387
Fix groestlcoin address parsing
Baesd on erasmospunk's PR #551
7 years ago
John L. Jegutanis
0815ff8e24
Add Decred support ( #550 )
* Refactor reorg_hashes function
* Add Decred support
7 years ago
Neil Booth
739bb687fc
Convert PROTOCOL_MIN, PROTOCOL_MAX to tuples
7 years ago
Neil Booth
382fc5ed44
Improve logging of client version requests
7 years ago
Neil Booth
46d8e0c608
Implement merkle proofs for blockchain.block.header
7 years ago
Neil Booth
d390b38acf
Add cache truncation and tests
7 years ago
Neil Booth
26d8026938
Increase merkle cache test coverage to 100%
7 years ago
Neil Booth
4168341857
Implement a markle cache with tests
7 years ago
Neil Booth
3c3a1b7017
Fix thinko in prior
Rename function to prevent similar mistakes in future
Also hash_to_str -> hash_to_hex_str
7 years ago
Neil Booth
af45363eeb
Add merkle library with tests
7 years ago
Lex Berezhny
29289004e7
electrumx package ( #511 )
* moved wallet, server, lib into electrumx main module
* fixed imports and other path references affected by electrumx main package
* fixing formatting to pass the pycodetest on travis
7 years ago
Neil Booth
b993bd8f8e
Rename protocol_version_string to version_string
7 years ago
Neil Booth
bc6093a8fe
Fully integrate aiorpcX
7 years ago
wilsonmeier
0f4f51d932
Changes for BTG ( #409 )
* Implemented electrum_header for BTG to include solution (needed for validation on clientside)
Add RPC_PORT for BTG node
* Added node regtest compatibility
* Updated unittests
* Changed chunksize and regtest rpc port
* Changed bits transfer format to decimal
* Add testnet v3 params and corrected coin name
7 years ago
John L. Jegutanis
6add2e5a9b
Add custom base58check algorithm ( #389 )
7 years ago
Neil Booth
c9b9e920f6
Compplete tests for lib/util.py
7 years ago
Sergii Vakula
9303153150
Add support for Emercoin ( #284 )
* Add parameters for emercoin.
* Add tests for emercoin.
* add block for test new read_header function
* add to daemon https protocol support
7 years ago
Neil Booth
05d6351686
Strip boolean environment variable strings
Update tests
7 years ago
Justin Turner Arthur
0c2e5c6368
Minor optimizations to Bitcoin tx processing ( #214 )
* Construct unpacking functions for byte format up front to save time
wasted on parsing format string every iteration.
* Store length ahead of time as the overhead adds up.
* Reduce object attribute lookups in hash functions.
* Clean up lib pkg API changes. Unit test new "public" API members.
Underscore prefix for internal hash module funcs. Make bytes.fromhex a
public function.
* Document recent performance findings.
8 years ago
Neil Booth
f4cc1e2926
Fix protocol version reported in server.peers.subscribe
- new library function protocol_version_string() with tests
- remove ad-hoc class functions
Fixes #251
8 years ago
Neil Booth
8f004785af
Update tests for COIN changes
8 years ago
Neil Booth
9c25685eb9
Handle client protocol range requests.
Add more tests.
8 years ago
Neil Booth
135ab68f74
Simple protocol negotiation and setting of handlers
It turns out clients pass 0.10 instead of 1.0 as the protocol version.
Distinguish some handlers for 1.0 and 1.1 protocols.
Log protocol version request
Add tests of new library function
8 years ago
Neil Booth
3612b88e2e
Permit underscores in hostnames.
Add tests.
8 years ago
Neil Booth
7a77637586
Add comprehensive tests of lib/hash.py
8 years ago
pooler
961936245c
Allow multiple P2SH address versions
8 years ago
Neil Booth
fde47d5739
Organise tests
8 years ago