Fix typos in docs

This commit is contained in:
Neil Booth 2016-11-30 20:52:20 +09:00
parent 95f131e284
commit a412531ccb
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
version 0.7.17
--------------
- upped read buffer limit to 1000000 bytes.
- upped read buffer limit to 1,000,000 bytes.
version 0.7.16
--------------
@ -12,7 +12,7 @@ version 0.7.15
--------------
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
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
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
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

View File

@ -311,7 +311,7 @@ class JSONRPC(asyncio.Protocol, LoggedClass):
async def json_notification(self, message):
try:
method, params = self.method_and_params(message)
except RCPError:
except self.RPCError:
pass
else:
await self.handle_notification(method, params)
@ -336,7 +336,7 @@ class JSONRPC(asyncio.Protocol, LoggedClass):
def raise_unknown_method(self, 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)
# --- derived classes are intended to override these functions