Module: Berycoin::Gem::Blockchain

Defined in:
lib/berycoin/gem.rb

Class Method Summary collapse

Class Method Details

.getbestblockhashObject



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

.getblockchaininfoObject



27
28
29
# File 'lib/berycoin/gem.rb', line 27

def Blockchain.getblockchaininfo
  H.getblockchaininfo
end

.getblockcountObject



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

.getchaintipsObject



39
40
41
# File 'lib/berycoin/gem.rb', line 39

def Blockchain.getchaintips
  H.getchaintips
end

.getdifficultyObject



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

.getmempoolinfoObject



54
55
56
# File 'lib/berycoin/gem.rb', line 54

def Blockchain.getmempoolinfo
  H.getmempoolinfo
end

.getnewaddressObject



15
16
17
# File 'lib/berycoin/gem.rb', line 15

def Blockchain.getnewaddress
  H.getnewaddress
end

.getrawmempoolObject



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

.gettxoutproofObject



66
67
68
# File 'lib/berycoin/gem.rb', line 66

def Blockchain.gettxoutproof
  H.gettxoutproof
end

.gettxoutsetinfoObject



69
70
71
# File 'lib/berycoin/gem.rb', line 69

def Blockchain.gettxoutsetinfo
  H.gettxoutsetinfo
end

.verifychainObject



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