mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 09:56:07 -04:00
daemon: add more chain specific info in alt_chain_info
This commit is contained in:
parent
4228ee0b9e
commit
880ebfdeea
6 changed files with 116 additions and 31 deletions
|
@ -88,11 +88,12 @@ class Daemon(object):
|
|||
}
|
||||
return self.rpc.send_json_rpc_request(getlastblockheader)
|
||||
|
||||
def getblockheaderbyhash(self, hash):
|
||||
def getblockheaderbyhash(self, hash = "", hashes = []):
|
||||
getblockheaderbyhash = {
|
||||
'method': 'getblockheaderbyhash',
|
||||
'params': {
|
||||
'hash': hash,
|
||||
'hashes': hashes,
|
||||
},
|
||||
'jsonrpc': '2.0',
|
||||
'id': '0'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue