mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 18:54:52 -04:00
Merge pull request #8958
b0bf49a
blockchain_db: add k-anonymity to txid fetching (jeffro256)
This commit is contained in:
commit
d5da693866
13 changed files with 770 additions and 1 deletions
|
@ -590,6 +590,18 @@ class Daemon(object):
|
|||
}
|
||||
return self.rpc.send_json_rpc_request(flush_cache)
|
||||
|
||||
def get_txids_loose(self, txid_template, num_matching_bits):
|
||||
get_txids_loose = {
|
||||
'method': 'get_txids_loose',
|
||||
'params': {
|
||||
'txid_template': txid_template,
|
||||
'num_matching_bits': num_matching_bits
|
||||
},
|
||||
'jsonrpc': '2.0',
|
||||
'id': '0'
|
||||
}
|
||||
return self.rpc.send_json_rpc_request(get_txids_loose)
|
||||
|
||||
def sync_txpool(self):
|
||||
sync_txpool = {
|
||||
'method': 'sync_txpool',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue