Module: Berycoin::Gem::Blockchain
- Defined in:
- lib/berycoin/gem.rb
Class Method Summary collapse
- .getbestblockhash ⇒ Object
- .getblock(hash) ⇒ Object
- .getblockchaininfo ⇒ Object
- .getblockcount ⇒ Object
- .getblockhash(index) ⇒ Object
- .getblockheader(hash) ⇒ Object
- .getchaintips ⇒ Object
- .getdifficulty ⇒ Object
- .getmempoolancestors(txid) ⇒ Object
- .getmempooldescendants(txid) ⇒ Object
- .getmempoolentry(txid) ⇒ Object
- .getmempoolinfo ⇒ Object
- .getnewaddress ⇒ Object
- .getrawmempool ⇒ Object
- .gettxout(txid, n) ⇒ Object
- .gettxoutproof ⇒ Object
- .gettxoutsetinfo ⇒ Object
- .verifychain ⇒ Object
- .verifytxoutproof(proof) ⇒ Object
Class Method Details
.getbestblockhash ⇒ Object
19 20 21 |
# File 'lib/berycoin/gem.rb', line 19 def Blockchain.getbestblockhash H.getbestblockhash end |
.getblock(hash) ⇒ Object
23 24 25 |
# File 'lib/berycoin/gem.rb', line 23 def Blockchain.getblock(hash) H.getblock hash end |
.getblockchaininfo ⇒ Object
27 28 29 |
# File 'lib/berycoin/gem.rb', line 27 def Blockchain.getblockchaininfo H.getblockchaininfo end |
.getblockcount ⇒ Object
30 31 32 |
# File 'lib/berycoin/gem.rb', line 30 def Blockchain.getblockcount H.getblockcount end |
.getblockhash(index) ⇒ Object
33 34 35 |
# File 'lib/berycoin/gem.rb', line 33 def Blockchain.getblockhash(index) H.getblockhash(index) end |
.getblockheader(hash) ⇒ Object
36 37 38 |
# File 'lib/berycoin/gem.rb', line 36 def Blockchain.getblockheader(hash) H.getblockheader(hash) end |
.getchaintips ⇒ Object
39 40 41 |
# File 'lib/berycoin/gem.rb', line 39 def Blockchain.getchaintips H.getchaintips end |
.getdifficulty ⇒ Object
42 43 44 |
# File 'lib/berycoin/gem.rb', line 42 def Blockchain.getdifficulty H.getdifficulty end |
.getmempoolancestors(txid) ⇒ Object
45 46 47 |
# File 'lib/berycoin/gem.rb', line 45 def Blockchain.getmempoolancestors(txid) H.getmempoolancestors(txid) end |
.getmempooldescendants(txid) ⇒ Object
48 49 50 |
# File 'lib/berycoin/gem.rb', line 48 def Blockchain.getmempooldescendants(txid) H.getmempooldescendants(txid) end |
.getmempoolentry(txid) ⇒ Object
51 52 53 |
# File 'lib/berycoin/gem.rb', line 51 def Blockchain.getmempoolentry(txid) H.getmempoolentry(txid) end |
.getmempoolinfo ⇒ Object
54 55 56 |
# File 'lib/berycoin/gem.rb', line 54 def Blockchain.getmempoolinfo H.getmempoolinfo end |
.getnewaddress ⇒ Object
15 16 17 |
# File 'lib/berycoin/gem.rb', line 15 def Blockchain.getnewaddress H.getnewaddress end |
.getrawmempool ⇒ Object
57 58 59 |
# File 'lib/berycoin/gem.rb', line 57 def Blockchain.getrawmempool H.getrawmempool end |
.gettxout(txid, n) ⇒ Object
60 61 62 |
# File 'lib/berycoin/gem.rb', line 60 def Blockchain.gettxout(txid) H.gettxout(txid) end |
.gettxoutproof ⇒ Object
66 67 68 |
# File 'lib/berycoin/gem.rb', line 66 def Blockchain.gettxoutproof H.gettxoutproof end |
.gettxoutsetinfo ⇒ Object
69 70 71 |
# File 'lib/berycoin/gem.rb', line 69 def Blockchain.gettxoutsetinfo H.gettxoutsetinfo end |
.verifychain ⇒ Object
72 73 74 |
# File 'lib/berycoin/gem.rb', line 72 def Blockchain.verifychain H.verifychain end |
.verifytxoutproof(proof) ⇒ Object
75 76 77 |
# File 'lib/berycoin/gem.rb', line 75 def Blockchain.verifytxoutproof(proof) H.verifytxoutproof(proof) end |