Guest User

Untitled

a guest
Oct 17th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. sudo pip3 install peercoin_rpc
  2. python3
  3.  
  4. >>> from peercoin_rpc import Client
  5. >>> kmdnode = Client(testnet=False, username="user793173901", password="pass07e8702e5982abfee0cf32381716717941bcde8c04dbda147818d26ee94f9737d4", ip="localhost", port="45453")
  6. >>> kmdnode.getinfo()
  7. {'version': 1001550, 'testnet': False, 'rpcport': 45453, 'connections': 3, 'errors': '', 'difficulty': 5103076.631849649, 'reward': 25600000000, 'relayfee': 1e-06, 'keypoololdest': 1538907055, 'paytxfee': 0.0, 'blocks': 36719, 'p2pport': 45452, 'halving': 77777, 'notarizedhash': '0000000000000000000000000000000000000000000000000000000000000000', 'KMDversion': '0.1.1', 'proxy': '', 'notarized': 0, 'balance': 0.0, 'notarizedtxid_height': 'mempool', 'notarizedtxid': '0000000000000000000000000000000000000000000000000000000000000000', 'notarized_confirms': 0, 'timeoffset': 0, 'tiptime': 1537796161, 'KMDnotarized_height': 0, 'longestchain': 36719, 'protocolversion': 170003, 'magic': 397860952, 'prevMoMheight': 0, 'keypoolsize': 101, 'name': 'PIRATE', 'walletversion': 60000}
Add Comment
Please, Sign In to add comment