module XRBP::NodeStore
The NodeStore
is the Key/Value DB
which rippled persistent stores ledger data. Implemented via a backend configured at run time, the NodeStore
is used to store the tree-like structures that consistute the XRP ledger.
The Keys and Values stored in the NodeStore
are custom binary encodings of tree-node IDs and data. See this module and the others in this directory for specifics on how keys & values are stored and extracted.
Constants
- QUALITY_ONE
Ripple specific constant used for parsing qualities and other things github.com/ripple/rippled/blob/develop/src/ripple/protocol/Quality.h#L107
- SLE
Special type of Serialized Object whose type is identified through the 'ledger_entry_type' field
Public Class Methods
no_currency()
click to toggle source
# File lib/xrbp/nodestore/protocol/currency.rb, line 7 def self.no_currency @no_currency ||= 1 end
no_issue()
click to toggle source
# File lib/xrbp/nodestore/protocol/issue.rb, line 36 def self.no_issue @no_issue ||= Issue.new(NodeStore.no_currency, Crypto.no_account) end
uint256()
click to toggle source
# File lib/xrbp/nodestore/uint.rb, line 3 def self.uint256 Array.new(32) { 0 }.pack("C*") end
xrp_currency()
click to toggle source
# File lib/xrbp/nodestore/protocol/currency.rb, line 3 def self.xrp_currency @xrp_currency ||= 0 end
xrp_issue()
click to toggle source
# File lib/xrbp/nodestore/protocol/issue.rb, line 31 def self.xrp_issue @xrp_issue ||= Issue.new(NodeStore.xrp_currency, Crypto.xrp_account) end