Commit Graph

1565 Commits

Author SHA1 Message Date
David Hill
f3166176ce [decred] Update to testnet3 (#597)
While here, fix mainnet and testnet WIF_BYTE.
2018-09-14 20:16:38 +01:00
Neil Booth
515156f49d Catch aiohttp.ClientError
See #595
2018-09-13 10:00:12 +01:00
Neil Booth
fac32c4903 Prepare 1.8.7 2018-09-13 09:46:37 +01:00
John L. Jegutanis
f76e8b0a44 Fix reorg related bug (#594)
Changed to the correct self.db.read_raw_block and catch only
FileNotFoundError as it is the only one that should happen.
2018-09-12 23:16:52 +01:00
Neil Booth
95ea557b1d Prepare 1.8.6 2018-09-12 17:21:59 +01:00
Neil Booth
499fe7faad Update to aiorpcx 0.8.0 2018-09-12 17:16:56 +01:00
Gabriel
3a33675e11 Add TokenPay (#495)
This commit adds TokenPay as a supported coin.
2018-09-08 11:57:32 +01:00
Neil Booth
ab17b4d529 Add is_generation memeber to TxInput
Use it in preference to is_gen_outpoint
2018-09-04 17:08:19 +01:00
脇山P
2b123d7778 update aiorpcX (#586) 2018-08-19 21:58:07 +09:00
Neil Booth
eeb5f96cd5 Suppress socket.send() errors 2018-08-19 11:31:21 +09:00
Neil Booth
1d299f3f67 Prepare 1.8.5 2018-08-18 13:59:47 +09:00
Neil Booth
866342c4d8 Require aiorpcX >= 0.7.3 2018-08-18 13:10:25 +09:00
Neil Booth
437ad9b446 Handle flush races gracefully
Fixes #552

I cannot see how these can occur other than during a reorg, but
the submitter didn't seem to think there was a reorg.  So log it
and recover gracefully; let's see if many report these.
2018-08-18 12:06:22 +09:00
FABIANO S CUNHA
f5b3df9092 Add support for pivxTestnet (#585) 2018-08-18 10:51:17 +09:00
Neil Booth
44e715e6c9 Fix test_daemon 2018-08-18 10:34:57 +09:00
Neil Booth
c441f6e11c Fix prior 2018-08-18 10:27:12 +09:00
Neil Booth
8ea2bed403 Move server opening/closing to its own task
Fixes the issue referred to in #583
2018-08-18 08:39:21 +09:00
FABIANO S CUNHA
60d4ae52f7 Add support for Decred Testnet (#580)
* Add decred Testnet support
2018-08-17 18:15:38 +09:00
FABIANO S CUNHA
6dd7049339 Add support for BitcoinGreen (#581)
* Add support for BitcoinGreen
2018-08-17 09:57:46 +09:00
Neil Booth
eb5c55107a Remove dead code from coins.py 2018-08-16 23:41:37 +09:00
Neil Booth
b1eec85be8 Remove bad test
No one knows what the compact fee rules are...
2018-08-16 22:35:09 +09:00
Neil Booth
ba5d18d9d5 Fix randrange bug
Also make seed change daily only
2018-08-16 22:31:32 +09:00
Neil
acb9784ccc
Merge pull request #574 from erasmospunk/generation-tx-fixes
Improve generation inputs handling
2018-08-16 22:17:13 +09:00
John L. Jegutanis
a6d46fab8d Improve generation inputs handling
Fixes #570
2018-08-16 15:02:56 +02:00
Neil Booth
8ab04652c1 Fix #577 2018-08-16 12:01:26 +09:00
Neil
ec2ef922bc
Merge pull request #575 from wakiyamap/master
update monacoin's server
2018-08-15 19:29:32 +09:00
wakiyamap
60d0cfba0e update monacoin's server 2018-08-15 16:31:50 +09:00
Neil Booth
ee86de86a3 Prepare 1.8.4 2018-08-14 12:59:04 +09:00
Neil Booth
f0a2f128dc Merge branch 'devel' 2018-08-14 12:58:52 +09:00
Neil Booth
c5bb61fed2 Merge branch 'daemon-tests' into devel 2018-08-14 12:44:18 +09:00
Neil Booth
374ec8f26c Add daemon tests 2018-08-14 12:43:33 +09:00
Neil Booth
6950fca7cb Make WarmingUpError file-scope 2018-08-14 11:35:08 +09:00
Neil Booth
1b618d19d4 Remove dead code
At least, I believe it is
2018-08-14 11:35:08 +09:00
Neil Booth
ab0e9eb123 Improve retry logic 2018-08-14 11:35:08 +09:00
Neil Booth
b087d1492b Controller tests daemon connectivity and auth first
Server base doesn't need a task group
2018-08-14 11:35:08 +09:00
Neil Booth
ab2691563f Improve daemon error handling 2018-08-14 11:35:08 +09:00
Neil Booth
3f69595fbd Improve estimatefee API 2018-08-14 11:35:08 +09:00
Neil Booth
92e8cff770 Improve daemon API for broadcasting a tx 2018-08-14 11:35:08 +09:00
Neil Booth
61711fcfd7 Clean up daemon URL handling and interface 2018-08-14 11:35:08 +09:00
Neil Booth
08347fe275 Simplify _is_rpc_available 2018-08-14 11:35:08 +09:00
Neil Booth
4e40e26ac4 Move from .format to f'' strings 2018-08-14 11:35:08 +09:00
Neil Booth
6dafbfd455 Make down and last_error_time locals 2018-08-14 11:35:08 +09:00
Neil Booth
9ebd2e86e8 Use a counter for ID counting 2018-08-14 11:35:08 +09:00
Neil Booth
13a8b62d8c Daemon constructor passed coin and URLs directly 2018-08-14 11:35:08 +09:00
Neil Booth
a108817dd4 Merge branch 'master' into devel 2018-08-14 11:34:18 +09:00
Neil
265751c3fd
Merge pull request #572 from erasmospunk/struct-refactoring
Struct refactoring
2018-08-14 08:54:32 +09:00
Neil Booth
33535ae325 Add test for BCH electrum header 2018-08-14 08:53:38 +09:00
John L. Jegutanis
47d9fb4b30 Use compiled structs and some code cleanup 2018-08-14 01:32:40 +02:00
John L. Jegutanis
31dbbe0ba5 Use precompiled structs for header parsing 2018-08-14 01:32:36 +02:00
John L. Jegutanis
5a01312454 Add big endian precompiled structs for 16 & 32 uints 2018-08-14 01:20:26 +02:00