16 lines
299 B
Go
16 lines
299 B
Go
|
package core
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
type NewTransactionOpts struct {
|
||
|
Hash []byte
|
||
|
BlockId int64
|
||
|
SenderPublicKey []byte
|
||
|
ReceiverPublicKey []byte
|
||
|
IsReward bool
|
||
|
Amount float64
|
||
|
Message string
|
||
|
Signature []byte
|
||
|
CreatedAt time.Time
|
||
|
}
|