README
Cocol
App
Api
Miner
Command
Command_Main_command_of_clim_library
Options_Main_command_of_clim_library
Option_address
Option_help
Option_host
Option_master
Option_max_connections
Option_miner
Option_port
Option_version
Options_Main_command_of_clim_library
Option_address
Option_help
Option_host
Option_master
Option_max_connections
Option_miner
Option_port
Option_version
RunProc
Event
EventType
NewBlockEvent
PeerConnectionEvent
Repo
TransactionEvent
Ledger
Action
Abstract
Signature
Stake
Transaction
TxnHash
Block
Abstract
BlockHash
BlockHashSeed
Coinbase
Pos
Pow
Inventory
Mempool
TxnHash
Pos
Pow
Repo
Block
BlockHash
Sync
Util
Messenger
Action
Base
GetBlock
GetPeers
Handshake
Inventory
PropagateTransaction
Repo
Struct
Peer
Node
Settings
struct
Ledger::Action::Transaction
Ledger::Action::Transaction
Ledger::Action::Abstract
Struct
Value
Object
Defined in:
cocol/node/ledger/action.cr
Constructors
.new
(from, to, amount)
.new
(pull : JSON::PullParser)
Instance Method Summary
#from
: String
#to
: String
Instance methods inherited from struct
Ledger::Action::Abstract
amount : UInt64
amount
,
hash : TxnHash
hash
,
sig : Signature?
sig
,
sig=(sig : Signature?)
sig=
,
timestamp : Int64
timestamp
Constructor methods inherited from struct
Ledger::Action::Abstract
new(pull : JSON::PullParser)
new
Constructor Detail
def self.
new
(from, to, amount)
#
[
View source
]
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
from
: String
#
[
View source
]
def
to
: String
#
[
View source
]