mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 08:26:05 -04:00
Merge pull request #5525
0605406
daemon: sort alt chains by height (moneromooo-monero)4228ee0
daemon: add optional arguments to alt_chain_info (moneromooo-monero)880ebfd
daemon: add more chain specific info in alt_chain_info (moneromooo-monero)
This commit is contained in:
commit
564bb1da3a
10 changed files with 169 additions and 43 deletions
|
@ -90,11 +90,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