class XRBP::NodeStore::Fees
Attributes
base[R]
FIXME where do these get updated in rippled?
increment[R]
FIXME where do these get updated in rippled?
reserve[R]
FIXME where do these get updated in rippled?
units[R]
FIXME where do these get updated in rippled?
Public Class Methods
new()
click to toggle source
# File lib/xrbp/nodestore/fees.rb, line 7 def initialize @base = 0 @units = 0 @reserve = 0 @increment = 0 end
Public Instance Methods
account_reserve(owner_count)
click to toggle source
# File lib/xrbp/nodestore/fees.rb, line 14 def account_reserve(owner_count) STAmount.new :mantissa => reserve + owner_count + increment end