17 lines
269 B
Go
17 lines
269 B
Go
|
package core
|
||
|
|
||
|
type Transaction struct {
|
||
|
Type int
|
||
|
Timestamp int64
|
||
|
Comment string
|
||
|
Content []byte
|
||
|
Hash string
|
||
|
Signature string
|
||
|
}
|
||
|
|
||
|
// {"Signer": 0x0deadbeef, "commitment": 0x0000}
|
||
|
type TransactionContent struct {
|
||
|
Signer string
|
||
|
Commitment string
|
||
|
}
|