class Glueby::FeeProvider
Constants
- DEFAULT_FIXED_FEE
- DEFAULT_UTXO_POOL_SIZE
- WALLET_ID
Attributes
config[R]
fixed_fee[R]
utxo_pool_size[R]
wallet[R]
Public Instance Methods
configure(config)
click to toggle source
@param [Hash] config @option config [Integer] :fixed_fee The amount of fee which FeeProvider
would provide to the txs @option opts [Integer] :utxo_pool_size The number of UTXOs in UTXO pool that is managed by FeeProvider
# File lib/glueby/fee_provider.rb, line 20 def configure(config) @config = config end
provide(tx)
click to toggle source
# File lib/glueby/fee_provider.rb, line 24 def provide(tx) new.provide(tx) end