Commit Graph

111 Commits

Author SHA1 Message Date
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
John L. Jegutanis
a6d46fab8d Improve generation inputs handling
Fixes #570
2018-08-16 15:02:56 +02:00
Neil Booth
f0a2f128dc Merge branch 'devel' 2018-08-14 12:58:52 +09:00
Neil Booth
374ec8f26c Add daemon tests 2018-08-14 12:43:33 +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
fa0a58a280 Rename struct pack/unpack to reflect endianess 2018-08-14 01:20:26 +02:00
John L. Jegutanis
05c9e6b38f Pivx support (#568)
* Correct function doc string

* Add PIVX support
2018-08-12 07:50:32 +09:00
Neil Booth
39f97cef90 Add comprehensive mempool tests 2018-08-11 16:15:55 +09:00
Neil Booth
4329724b98 Implement TX serialization
This will be used in other tests
2018-08-11 16:15:34 +09:00
Neil Booth
8b34de53f9 Add some utility functions and tests 2018-08-11 16:15:34 +09:00
Neil Booth
1efc8cb8ec Make the merkle cache and read_headers async
read_headers runs in a thread to avoid blocking
2018-08-06 21:49:26 +09:00
Neil Booth
e5b2268387 Fix groestlcoin address parsing
Baesd on erasmospunk's PR #551
2018-08-06 08:39:44 +09:00
John L. Jegutanis
0815ff8e24 Add Decred support (#550)
* Refactor reorg_hashes function

* Add Decred support
2018-08-02 22:20:36 +09:00
Kefkius
9e3893b065 Add Groestlcoin (#544)
* Add Groestlcoin

* GRS: Add tests
2018-08-02 07:12:14 +09:00
joesixpack
83732af4fe Support for Minexcoin (#529) 2018-07-24 09:41:03 +08:00
Neil Booth
f7c95986bf Fix failing test 2018-07-20 17:14:47 +08:00
Omar Cruz
227696636d Added Motion Coin mainnet (#528)
* Motion added
2018-07-19 17:41:20 +08:00
Neil Booth
a3d3bbe9a7 Move more code out of controller to sessions
Disable a test that will require significant work
2018-07-17 20:20:28 +08:00
Neil Booth
739bb687fc Convert PROTOCOL_MIN, PROTOCOL_MAX to tuples 2018-07-17 10:59:41 +08:00
Neil Booth
382fc5ed44 Improve logging of client version requests 2018-07-16 21:25:50 +08:00
Neil Booth
46d8e0c608 Implement merkle proofs for blockchain.block.header 2018-07-16 16:02:55 +08:00
Neil Booth
d390b38acf Add cache truncation and tests 2018-07-16 12:42:53 +08:00
Neil Booth
26d8026938 Increase merkle cache test coverage to 100% 2018-07-16 09:53:43 +08:00
Neil Booth
4168341857 Implement a markle cache with tests 2018-07-16 09:36:32 +08:00
Neil Booth
73a46df17f Remove hash_to_str 2018-07-14 21:48:58 +08:00
Neil Booth
3c3a1b7017 Fix thinko in prior
Rename function to prevent similar mistakes in future

Also hash_to_str -> hash_to_hex_str
2018-07-14 21:29:11 +08:00
Neil Booth
af45363eeb Add merkle library with tests 2018-07-14 19:44:10 +08:00
Lex Berezhny
f8ebcf35b4 Env accepts custom Coin class (#517)
* + support for passing an actual coin class to Env()

* unit test for Env() accept coin class

* doc string explaining optional Coin argument to Env and assert to make sure a coin is a Coin
2018-07-11 08:48:57 +08:00
Neil
c28b5af309
Export Controller and Env from the package (#515) 2018-07-10 14:17:49 +08:00
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
2018-07-10 07:28:04 +08:00
Neil Booth
e425b60ff3 Remove decred - mainnet fails to sync
This doesn't seem likely to be fixed soon given the protocol
is quite different.

Closes #414
2018-07-03 18:27:46 -07:00
cronos-polis
93e4b1f15a Add Polis, ColossusXT, GoByte, Monoeci (#504) 2018-07-02 14:24:02 -07:00
WO
93ee197b48 Add Koto testnet (#491) 2018-06-09 11:07:36 +09:00
elmora-do
7baf6cf68d Add $PAC (#474)
* Add $PAC

* Refactor and improve masternode notifications
* Update DASH/$PAC RPC documentation

These RPC commands were documented:

masternode.announce.broadcast
masternode.subscribe
masternode.list
masternode.info
2018-06-06 09:15:36 +09:00
Neil Booth
b993bd8f8e Rename protocol_version_string to version_string 2018-06-05 00:07:16 +09:00
WO
8d42c23026 Update for Zcash v3 tx (#475) 2018-05-26 17:48:58 +07:00
Neil Booth
e88b8c0dec Update compaction test
Version -> 1.4.4pre1
2018-05-26 00:02:33 +08:00
Neil Booth
5e1ed3ffa6 Separate history management into its own object
- the object also manages unflushed history
- the history DB has its own version, starting at 0

This is the first step to making history management into
a separate service and to larger block sizes.

The next step is an improved history format, which I hope will both
save space and be a solution to issue #185.  The DB should be able to
upgrade in-place without re-syncing the chain.
2018-05-25 23:36:18 +08:00
Neil Booth
77051f83a4 Make HASHX_LEN a global, not a coin property 2018-05-22 11:44:27 +08:00
ddude
56de4dea67 Adding Xuez Coin (#472) 2018-05-19 09:49:54 +08:00
Nico
9877e1f846 added Machinecoin (MAC) (#470) 2018-05-18 20:03:21 +08:00
cipig
a7a8a1bd32 add GameCredits (GAME) (#467) 2018-05-12 22:51:49 +08:00
Peter Bushnell
e5cd5f3067 Add Uniform Fiscal Object (UFO) (#463)
* Add Uniform Fiscal Object

* Remove spaces in name

* Rename test
2018-05-06 07:15:14 +08:00