Neil Booth
4ae6af6959
Fix typo (contributed by gabriel-samfira)
7 years ago
elmora-do
50e2785256
Update masternode doc and masternode_list rpc method ( #493 )
* Update protocol-methods.rst
* Error is raised if the payees is not a list in RPC method masternode_list
7 years ago
Neil Booth
46adf543fc
Enforce pycodestyle in server/
7 years ago
Neil Booth
e29b692b9d
Fix typo
7 years ago
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
7 years ago
Neil Booth
2559751ead
Display aiorpcX version on startup
7 years ago
Neil Booth
52658cfc9c
Set the shutdown event via call_soon
Fixes #480
Require aiorpcx 0.5.6, handle ConnectionError appropriately;
this ensures the same bug would give a better error message
7 years ago
Neil Booth
69754a62eb
Be more careful closing history DB
Fixes #485
7 years ago
Neil Booth
7d9ffbbed0
Minimum supported protocol version is 1.1
7 years ago
Neil Booth
e0186d7661
Move clean_db() logic to when hist DB is opened
7 years ago
Neil Booth
e88b8c0dec
Update compaction test
Version -> 1.4.4pre1
7 years ago
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.
7 years ago
Neil Booth
77051f83a4
Make HASHX_LEN a global, not a coin property
7 years ago
John L. Jegutanis
c813918b8b
Add version to the getinfo result ( #471 )
7 years ago
Neil Booth
55e060c318
RPC member is 'message' not 'msg'
Fixes #455
7 years ago
脇山P
a858b3fc2d
fix height is not define ( #450 )
7 years ago
Neil Booth
ec2565679a
Force close stale sessions that aren't closing
7 years ago
Neil Booth
0dc99d7c63
Fix RPCError import
Closes #443
7 years ago
Neil Booth
1a0eea25c3
ElectrumX 1.4.3
Close connections more aggressively on shutdown
We need VERSION in its own file, unfortunately
Fixes #442
7 years ago
Neil Booth
142aa48dbb
Release 1.4.2
Requires aiorpcX 0.5.5
7 years ago
Neil Booth
f54c4e6e25
Resolve address locally if proxy and not tor
and report it correctly in peers output
Requires aiorpcX 0.5.5
Closes #301
7 years ago
Neil Booth
4eebf420e8
Cleaner shutdown
Use aiorpcX task functionality
Shut down peer sessions cleanly
7 years ago
Neil Booth
fec2ee1d8f
Set PROTOCOL_MIN to 1.0
Earlier protocol versions are used by 2.9.x clients of Electrum and
Electron Cash. They all have the local daemon vulnerability, so
it seems a good time to phase out support for those clients.
7 years ago
Neil Booth
8bf30fba0e
Move server/version.py to Controller class
7 years ago
Neil Booth
837bea217a
Remove controller.groups
7 years ago
Neil Booth
e92c9bd486
ElectrumX 1.4
7 years ago
Neil Booth
415552989b
Fix group consolidation logic
7 years ago
Neil Booth
bc6093a8fe
Fully integrate aiorpcX
7 years ago
Neil Booth
e69b1d930f
Convert PeerSession to use aiorpcX
7 years ago
John L. Jegutanis
90f28314d2
Add DROP_CLIENT env variable ( #432 )
This will disconnect any client based on their version string,
using a regular expression.
Useful for dropping buggy/unsupported clients.
7 years ago
Neil Booth
c1ba211d43
Remove code appropriate for future aiorpcX
Closes #428
7 years ago
Neil Booth
a2635f4df9
Bump reported version to 1.3.1
7 years ago
Neil Booth
81141eb390
Proxy detection improvements
- don't detect in a loop. Only detect at startup, and later if
needed and 15 minutes has passed since the last attempt
7 years ago
Neil Booth
c11ad5d189
Bump to aiorpcX version 0.4.4
Update peers.py to not pass local_addr to proxy
7 years ago
Roman Zeyde
19565a136d
Fix small typo in server/db.py ( #412 )
7 years ago
Neil Booth
74bc80ffbd
Revert "Log from Peer Manager directly"
This reverts commit d2e6f7d75b
.
7 years ago
Neil Booth
d2e6f7d75b
Log from Peer Manager directly
7 years ago
Neil Booth
80fc334449
Switch to aiorpcX for SOCKS proxying.
7 years ago
Neil Booth
ebc83b4028
Import peers in main_loop
Also only if peer discovery is enabled. It's less confusing
that way.
7 years ago
Neil Booth
5e3ab51e5e
Suffix a + to version post-release
7 years ago
Neil Booth
b5e97b6d37
Log supported protocol versions
7 years ago
Neil Booth
bfca87d13a
Release 1.3
7 years ago
Neil Booth
47f65ffda2
Add raw header subscriptions.
7 years ago
Neil Booth
bab8d9f915
Add server.ping RPC call
7 years ago
dax
cf49b737d3
Enable verbose mode in blockchain.transaction.get ( #397 )
getrawtransaction: optional verbose mode
Update PROTOCOL.rst docs
7 years ago
Neil Booth
521227c2b8
coin is on the controller, unfortunately
7 years ago
Neil Booth
62220f64db
Remove dead code left over from prior
7 years ago
Neil Booth
5109990ea4
Add blockchain.block.headers RPC call
7 years ago
Neil Booth
7823129526
Clarify truncation behaviour of get_chunk in docs
7 years ago
Neil Booth
49ee008346
Relax the constraints on read_headers
They were really for fs_block_hashes; that still enforces
the full constraint. Simplifies get_chunk.
7 years ago