|
@ -745,8 +745,8 @@ Return the address paid to by a UTXO. |
|
|
mempool.get_fee_histogram |
|
|
mempool.get_fee_histogram |
|
|
------------------------- |
|
|
------------------------- |
|
|
|
|
|
|
|
|
Return a histogram of the fee rates paid by transactions in the |
|
|
Return a histogram of the fee rates paid by transactions in the memory |
|
|
memory pool, weighted by transaction size. |
|
|
pool, weighted by transaction size. |
|
|
|
|
|
|
|
|
**Signature** |
|
|
**Signature** |
|
|
|
|
|
|
|
@ -776,8 +776,8 @@ mempool.get_fee_histogram |
|
|
server.add_peer |
|
|
server.add_peer |
|
|
--------------- |
|
|
--------------- |
|
|
|
|
|
|
|
|
This call is intended for a new server to get itself into a server's |
|
|
A newly-started server uses this call to get itself into other servers' |
|
|
peers list, and should not be used by wallet clients. |
|
|
peers lists. It sould not be used by wallet clients. |
|
|
|
|
|
|
|
|
**Signature** |
|
|
**Signature** |
|
|
|
|
|
|
|
@ -949,6 +949,21 @@ server.peers.subscribe |
|
|
the default port for the coin network is implied. If 's' or 't' is |
|
|
the default port for the coin network is implied. If 's' or 't' is |
|
|
missing then the server does not support that transport. |
|
|
missing then the server does not support that transport. |
|
|
|
|
|
|
|
|
|
|
|
server.ping |
|
|
|
|
|
----------- |
|
|
|
|
|
|
|
|
|
|
|
Ping the server to ensure it is responding, and to keep the session |
|
|
|
|
|
alive. The server may disconnect clients that have sent no requests |
|
|
|
|
|
for roughly 10 minutes. |
|
|
|
|
|
|
|
|
|
|
|
**Signature** |
|
|
|
|
|
|
|
|
|
|
|
.. function:: server.ping() |
|
|
|
|
|
.. versionadded:: 1.2 |
|
|
|
|
|
|
|
|
|
|
|
**Result** |
|
|
|
|
|
|
|
|
|
|
|
Returns :const:`null`. |
|
|
|
|
|
|
|
|
server.version |
|
|
server.version |
|
|
-------------- |
|
|
-------------- |
|
@ -960,6 +975,9 @@ server.version |
|
|
.. function:: server.version(client_name="", protocol_version="1.1") |
|
|
.. function:: server.version(client_name="", protocol_version="1.1") |
|
|
.. versionchanged:: 1.1 |
|
|
.. versionchanged:: 1.1 |
|
|
*protocol_version* is not ignored. |
|
|
*protocol_version* is not ignored. |
|
|
|
|
|
.. versionchanged:: 1.2 |
|
|
|
|
|
Use :func:`server.ping` rather than sending version requests as a |
|
|
|
|
|
ping mechanism. |
|
|
|
|
|
|
|
|
* *client_name* |
|
|
* *client_name* |
|
|
|
|
|
|
|
|