class LedgerLite::Configuration
Constants
- COINBASE
note: for now is an array (allow/ support multiple coinbases) note: add a (†) coinbase marker
Attributes
coinbase[RW]
use a different name e.g.
-
mint (like royal mint or federal coin mint?) or
-
base
-
magic (for creating coins out-of-nothing?) or
-
network or ??) - why? why not?
Public Class Methods
new()
click to toggle source
# File lib/ledger-lite/base.rb, line 34 def initialize @coinbase = COINBASE end
Public Instance Methods
coinbase?( addr )
click to toggle source
# File lib/ledger-lite/base.rb, line 38 def coinbase?( addr ) @coinbase.include?( addr ) end