Commit Graph

1093 Commits

Author SHA1 Message Date
53r63rn4r
2e12dcfdef Added support for sibcoin, changed decode message in jsonrpc (#314)
* Added support for sibcoin, changed decode message in jsonrpc

* Revert decode message in jsonrpc
2017-11-17 03:03:57 +00:00
Neil Booth
72fce87088 Put server_features() on the environment object
Fixes #302
2017-11-16 20:14:49 +00:00
脇山P
9c834d6091 Add support for Monacoin testnet and update mainnet peers (#310) 2017-11-14 08:28:34 +09:00
John L. Jegutanis
f3fea9f8ee Equihash POW abstraction and Bitcoin Gold support (#311)
* Extract the Equihash mixin from Zcash

The extracted EquihashMixin and DeserializerEquihash are used when
the Equihash POW support is needed but the Zcash transaction parsing
is not.

* Add Bitcoin Gold support

* Minor formatting fixing
2017-11-14 08:27:57 +09:00
Neil Booth
8c9731f0ad Update BCH server list 2017-11-08 12:45:43 +09:00
SomberNight
e2b15d7fe1 fix: estimatesmartfee when there is no feerate from daemon (#306) 2017-11-04 00:21:46 +07:00
SomberNight
8293da1e10 use estimatesmartfee for fee estimation (#300)
* use estimatesmartfee for fee estimation, in case of BitcoinSegwit

* use estimatesmartfee in daemon if available

* daemon._is_rpc_available() now catches DaemonError instead of using HTTP error code
2017-11-01 15:30:27 +07:00
Willmar Knikker
159db3f8e7 Add electrum-ltc.wilv.in to Litecoin Peers. (#299) 2017-10-29 17:52:40 +07:00
fr3aker
5f45e65a39 add info about downloading pre-synced database (#293) 2017-10-18 07:50:23 +09:00
Neil Booth
c9b9e920f6 Compplete tests for lib/util.py 2017-10-15 18:02:18 +09:00
Neil Booth
08b80b9306 Improve coverage of Env tests 2017-10-15 16:50:04 +09:00
Neil Booth
cf99f733d9 Remove the get_proof RPC.
The client will get an unknown method error message instead.
2017-10-15 16:27:10 +09:00
Neil Booth
5c7bf3cce9 Try and fix Viacoin 2017-10-14 12:20:14 +09:00
Neil Booth
74cb4c2f45 Require Python 3.6 2017-10-14 11:51:11 +09:00
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
2017-10-13 10:12:24 +09:00
Neil Booth
1da8cb547d Fix README.rst 2017-10-12 14:21:29 +09:00
Neil Booth
9bf220dec6 Widen min and max columns 2017-10-12 14:19:28 +09:00
Neil Booth
e039ba4b15 Prepare 1.2 2017-10-12 14:11:11 +09:00
Neil Booth
56d03625f6 Keep P2PK scripts separate from P2PKH scripts
This makes the DB incompatible with prior versions,
so the DB version is bumped.
2017-10-12 14:02:22 +09:00
Neil Booth
1cf084fb69 Prepare 1.1.2 2017-10-12 14:02:22 +09:00
Neil Booth
346385680e Fix listunspent methods to remove mempool spends
Fixes #277
2017-10-12 13:56:46 +09:00
Neil Booth
81947d796b Enhance PEER_DISCOVERY environment variable
It is now tri-state - ON, OFF or SELF.

Fixes #287
2017-10-11 13:54:13 +09:00
Jason (koad) Zvaniga
585e7be004 Add support for Canada eCoin mainnet. (#285) 2017-10-07 06:54:04 +09:00
SomberNight
aeccdc0cd9 update peers for BitcoinSegwitTestnet and BitcoinCashTestnet (#283) 2017-10-06 15:28:11 +09:00
Neil Booth
05d6351686 Strip boolean environment variable strings
Update tests
2017-10-05 18:01:45 +09:00
cryptcoin-junkey
47d54b1103 [Monacoin] Append the new seed node. (#280)
electrum-mona.bitbank.cc (tcp/ssl).

More info is in their technical blog entry (in Japanase).
https://bitbank.cc/blog/engineer20171005/
2017-10-05 16:49:42 +09:00
cipig
67d4641072 update EMC2 (#279)
EMC2 needs DeserializerSegWit to sync, also WIF_BYTE changed according to https://github.com/emc2foundation/einsteinium/blob/0.13_master_EMC2/src/chainparams.cpp#L132
2017-10-04 17:43:15 +09:00
SomberNight
a7b7aa7ebd typos in docs/ENVIRONMENT.rst (#278) 2017-10-03 21:45:28 +08:00
Neil Booth
7fa7d290ca Prepare 1.1.1 2017-09-28 09:05:51 +08:00
Neil Booth
3e376a79eb Rename lib/env to lib/env_base 2017-09-28 08:57:44 +08:00
Neil Booth
366c556c5f Split out lib/server_base.py 2017-09-28 08:56:12 +08:00
Neil Booth
255b88388a Update protocol docs for "height".
Closes #269
2017-09-21 18:27:11 +08:00
Neil Booth
ae03ea6cb6 Add env object for wallet engine
Split out common Env parts to a base class.
2017-09-21 18:16:37 +08:00
cipig
b16a4f5a94 fix DASH set_protocol_handlers (#271)
fix NameError: name 'masternode_announce_broadcast_1_0' is not defined
2017-09-21 09:32:42 +08:00
Luke Childs
0e6b59eb92 Add ALLOW_ROOT option (#268)
* Add ALLOW_ROOT option

* Document ALLOW_ROOT option

* Update controller.py

* Update ENVIRONMENT.rst
2017-09-20 08:14:06 +08:00
Neil Booth
accbdf6884 Update TX_ stats for BitcoinCash 2017-09-12 21:54:06 +09:00
cryptcoin-junkey
ac8e394114 Support BitZeny. (#260)
* Update coins.py

Signed-off-by: Cryptcoin Junkey <cryptcoin.junkey@gmail.com>

* change default settings bitzeny

Signed-off-by: Cryptcoin Junkey <cryptcoin.junkey@gmail.com>

* Update coins.py

Signed-off-by: Cryptcoin Junkey <cryptcoin.junkey@gmail.com>
2017-09-12 17:02:11 +07:00
cryptcoin-junkey
4b7ab9c032 Fix WIF_BYTE for Monacoin (#259)
WIF_BYTE was changed \xb2 to \xb0 since Monacoin-core develop-0.10 brance.
2017-09-12 07:35:37 +07:00
Neil Booth
131344715a Minor environment variable improvements
- COIN and NET strip surrounding whitespace
- new environment variable RPC_HOST, similar to HOST, but
  for RPC.  Permits fine-grained control of which addresses
  the RPC server listens on.
- HOST and RPC_HOST strip surrounding whitespace from hostnames
  and IP addresses
- tests and documentation updated to match
2017-09-09 22:00:54 +09:00
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.
2017-09-09 11:06:46 +07:00
Neil Booth
8cfa42ed9c Prepare 1.1 2017-09-09 10:51:43 +09:00
Neil Booth
2f69aaa487 Remove dead code 2017-09-09 10:39:13 +09:00
Neil Booth
9d853cf190 Refresh hard-coded peer lists 2017-09-08 17:47:34 +09:00
Neil Booth
305fd89740 Stop persisting peers; resdiscover on restart 2017-09-08 17:39:48 +09:00
Neil Booth
40fa79da63 Remove exception for onion peers
Like clearnet peers, they are only returned in server.peers.subscribe
if there was a successful connection.
2017-09-08 17:31:46 +09:00
Neil Booth
9dd5541f82 RPCError has msg member, not message 2017-09-08 17:02:37 +09:00
Neil Booth
f723455992 Prepare 1.1pre2 2017-09-08 11:28:23 +09:00
Neil Booth
4f5a219438 Dash: return errors in JSON error field for protocol 1.1 2017-09-08 11:09:30 +09:00
Neil Booth
06693c5880 Fix handling of failed transaction broadcast 2017-09-08 10:55:09 +09:00
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
2017-09-08 10:54:56 +09:00