Fix typos in docs
This commit is contained in:
parent
95f131e284
commit
a412531ccb
@ -1,7 +1,7 @@
|
|||||||
version 0.7.17
|
version 0.7.17
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
- upped read buffer limit to 1000000 bytes.
|
- upped read buffer limit to 1,000,000 bytes.
|
||||||
|
|
||||||
version 0.7.16
|
version 0.7.16
|
||||||
--------------
|
--------------
|
||||||
@ -12,7 +12,7 @@ version 0.7.15
|
|||||||
--------------
|
--------------
|
||||||
|
|
||||||
The following meta variables in your banner file are now replaced in
|
The following meta variables in your banner file are now replaced in
|
||||||
addition to $VERSION described in the notes to 0.17.11. If you type
|
addition to $VERSION described in the notes to 0.7.11. If you type
|
||||||
getnetworkinfo in your daemon's debug console you will see what they
|
getnetworkinfo in your daemon's debug console you will see what they
|
||||||
are based on:
|
are based on:
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ version 0.7.11
|
|||||||
|
|
||||||
- increased MAX_SEND default value to 1 million bytes so as to be able
|
- increased MAX_SEND default value to 1 million bytes so as to be able
|
||||||
to serve large historical transactions of up to ~500K in size. The
|
to serve large historical transactions of up to ~500K in size. The
|
||||||
MAX_SEND floor remains at 350,000 bytes so you can reduct it if you
|
MAX_SEND floor remains at 350,000 bytes so you can reduce it if you
|
||||||
wish. To serve any historical transaction for bitcoin youd should
|
wish. To serve any historical transaction for bitcoin youd should
|
||||||
set this to around 2,000,100 bytes (one byte becomes 2 ASCII hex chars)
|
set this to around 2,000,100 bytes (one byte becomes 2 ASCII hex chars)
|
||||||
- issue #46: fix reorgs for coinbase-only blocks. We would not distinguish
|
- issue #46: fix reorgs for coinbase-only blocks. We would not distinguish
|
||||||
|
|||||||
@ -311,7 +311,7 @@ class JSONRPC(asyncio.Protocol, LoggedClass):
|
|||||||
async def json_notification(self, message):
|
async def json_notification(self, message):
|
||||||
try:
|
try:
|
||||||
method, params = self.method_and_params(message)
|
method, params = self.method_and_params(message)
|
||||||
except RCPError:
|
except self.RPCError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
await self.handle_notification(method, params)
|
await self.handle_notification(method, params)
|
||||||
@ -336,7 +336,7 @@ class JSONRPC(asyncio.Protocol, LoggedClass):
|
|||||||
|
|
||||||
def raise_unknown_method(self, method):
|
def raise_unknown_method(self, method):
|
||||||
'''Respond to a request with an unknown method.'''
|
'''Respond to a request with an unknown method.'''
|
||||||
raise self.RPCError('unknown method: "{}"'.format(method),
|
raise self.RPCError("unknown method: '{}'".format(method),
|
||||||
self.METHOD_NOT_FOUND)
|
self.METHOD_NOT_FOUND)
|
||||||
|
|
||||||
# --- derived classes are intended to override these functions
|
# --- derived classes are intended to override these functions
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user