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
Neil Booth
7a989ad4e7
Remove get_chunk restriction
7 years ago
Neil Booth
790385cf7b
UTXO holds a binary hash
Fixes #371
7 years ago
Neil Booth
d075ebba86
Add missing import
Closes #370
7 years ago
Neil Booth
76f4969a98
listunspent methods consider mempool receipts
- Update docs. Height is 0 for mempool receipts
- Implement mempool.get_utxos() and use it
- Rename mempool.spends to mempool.potential_spends
Closes #365
7 years ago
Neil Booth
22c75a6216
Remove deprecated "with await" syntax
7 years ago
ThomasV
2d7403f2ef
New protocol: ( #330 )
- add method mempool.get_fee_histogram
- bump protocol version to 1.2
7 years ago
Neil Booth
7126864052
Wait for mempool to sync before starting external servers
Closes #335
7 years ago
TheLazieR Yip
e61490a5ba
Remove support for Electrum-Dash 2.6.4 ( #347 )
7 years ago
TheLazieR Yip
a6e466e37e
Update DashElectrumX follow notification process of ElectrumX. ( #346 )
7 years ago
Neil Booth
e5b4f5f316
Change read_tx interface of deserializer
Most callers didn't want the hash, so create a separate call
that does both. Add a new call that returns the TX and its vsize.
7 years ago
Neil Booth
b01139bb93
Don't iterate over mempool_statuses
Fixes #321
7 years ago
Neil Booth
ddf65fa9c2
Don't send notifications to LocalRPC sessions
Fixes #320
7 years ago
Neil Booth
cb33dd115f
Clean up client notifications
- mempool informed of new block; it notifies controller synchronously
- controller notifies sessions synchronously
- sessions are notified of new height synchronously. Any address touch
notifications are returned to the controller and scheduled
asynchronously.
Also, remove a redundant notification of height on initial header
subscriptions - the subscription response gives the current height;
we also used to send a notification as we didn't update our idea
of notified height.
7 years ago
Neil Booth
c764d1de18
Tweak mempool code
Precede 2 private functions with _. Removed unused arg.
7 years ago
Neil Booth
bcb36e0cb4
Prepare 1.2.1
7 years ago
Neil Booth
35dd1f6199
Remove IRC support
7 years ago
Neil Booth
72fce87088
Put server_features() on the environment object
Fixes #302
7 years ago
SomberNight
e2b15d7fe1
fix: estimatesmartfee when there is no feerate from daemon ( #306 )
7 years ago
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
7 years ago
Neil Booth
cf99f733d9
Remove the get_proof RPC.
The client will get an unknown method error message instead.
7 years ago
Neil Booth
74cb4c2f45
Require Python 3.6
7 years ago
Neil Booth
9bf220dec6
Widen min and max columns
7 years ago
Neil Booth
e039ba4b15
Prepare 1.2
7 years ago
Neil Booth
56d03625f6
Keep P2PK scripts separate from P2PKH scripts
This makes the DB incompatible with prior versions,
so the DB version is bumped.
7 years ago
Neil Booth
1cf084fb69
Prepare 1.1.2
7 years ago
Neil Booth
346385680e
Fix listunspent methods to remove mempool spends
Fixes #277
7 years ago
Neil Booth
81947d796b
Enhance PEER_DISCOVERY environment variable
It is now tri-state - ON, OFF or SELF.
Fixes #287
7 years ago
Neil Booth
7fa7d290ca
Prepare 1.1.1
7 years ago
Neil Booth
3e376a79eb
Rename lib/env to lib/env_base
7 years ago