module Berycoin::Blockchain
Public Class Methods
callcontract(address, data)
click to toggle source
# File lib/berycoin/gem.rb, line 40 def Blockchain.callcontract(address, data) H.callcontract(address,data) end
getaccountinfo(address)
click to toggle source
# File lib/berycoin/gem.rb, line 44 def Blockchain.getaccountinfo(address) H.getaccountinfo address end
getbestblockhash()
click to toggle source
# File lib/berycoin/gem.rb, line 52 def Blockchain.getbestblockhash H.getbestblockhash end
getblock(hash)
click to toggle source
# File lib/berycoin/gem.rb, line 56 def Blockchain.getblock(hash) H.getblock hash end
getblockchaininfo()
click to toggle source
# File lib/berycoin/gem.rb, line 60 def Blockchain.getblockchaininfo H.getblockchaininfo end
getblockcount()
click to toggle source
# File lib/berycoin/gem.rb, line 63 def Blockchain.getblockcount H.getblockcount end
getblockhash(index)
click to toggle source
# File lib/berycoin/gem.rb, line 66 def Blockchain.getblockhash(index) H.getblockhash(index) end
getblockheader(hash)
click to toggle source
# File lib/berycoin/gem.rb, line 69 def Blockchain.getblockheader(hash) H.getblockheader(hash) end
getchaintips()
click to toggle source
# File lib/berycoin/gem.rb, line 72 def Blockchain.getchaintips H.getchaintips end
getchaintxstats(nBlocks)
click to toggle source
# File lib/berycoin/gem.rb, line 75 def Blockchain.getchaintxstats(nBlocks) H.getchaintxstats nBlocks end
getdifficulty()
click to toggle source
# File lib/berycoin/gem.rb, line 78 def Blockchain.getdifficulty H.getdifficulty end
getmempoolancestors(txid)
click to toggle source
# File lib/berycoin/gem.rb, line 81 def Blockchain.getmempoolancestors(txid) H.getmempoolancestors(txid) end
getmempooldescendants(txid)
click to toggle source
# File lib/berycoin/gem.rb, line 84 def Blockchain.getmempooldescendants(txid) H.getmempooldescendants(txid) end
getmempoolentry(txid)
click to toggle source
# File lib/berycoin/gem.rb, line 87 def Blockchain.getmempoolentry(txid) H.getmempoolentry(txid) end
getmempoolinfo()
click to toggle source
# File lib/berycoin/gem.rb, line 90 def Blockchain.getmempoolinfo H.getmempoolinfo end
getnewaddress()
click to toggle source
# File lib/berycoin/gem.rb, line 48 def Blockchain.getnewaddress H.getnewaddress end
getrawmempool()
click to toggle source
# File lib/berycoin/gem.rb, line 93 def Blockchain.getrawmempool H.getrawmempool end
gettxout(txid, n)
click to toggle source
# File lib/berycoin/gem.rb, line 117 def Blockchain.gettxout(txid, n) H.gettxout(txid, n) end
gettxoutproof()
click to toggle source
# File lib/berycoin/gem.rb, line 120 def Blockchain.gettxoutproof H.gettxoutproof end
gettxoutsetinfo()
click to toggle source
# File lib/berycoin/gem.rb, line 123 def Blockchain.gettxoutsetinfo H.gettxoutsetinfo end
verifychain()
click to toggle source
# File lib/berycoin/gem.rb, line 126 def Blockchain.verifychain H.verifychain end
verifytxoutproof(proof)
click to toggle source
# File lib/berycoin/gem.rb, line 129 def Blockchain.verifytxoutproof(proof) H.verifytxoutproof(proof) end
Public Instance Methods
getstorage(address)
click to toggle source
# File lib/berycoin/gem.rb, line 96 def getstorage (address) H.getstorage address end
gettransactionreceipt(hash)
click to toggle source
# File lib/berycoin/gem.rb, line 99 def gettransactionreceipt(hash) H.gettransactionreceipt hash end
listcontracts()
click to toggle source
# File lib/berycoin/gem.rb, line 102 def listcontracts H.listcontracts end
preciousblock(blockhash)
click to toggle source
# File lib/berycoin/gem.rb, line 105 def preciousblock(blockhash) H.preciousblock blockhash end
pruneblockchain()
click to toggle source
# File lib/berycoin/gem.rb, line 108 def pruneblockchain H.pruneblockchain end
searchlogs(from,to,address,topics)
click to toggle source
# File lib/berycoin/gem.rb, line 111 def searchlogs(from,to,address,topics) H.searchlogs from to address topics end
waitforlogs(from,to,filter,minconf)
click to toggle source
# File lib/berycoin/gem.rb, line 114 def waitforlogs (from,to,filter,minconf) H.waitforlogs from to filter minconf end