zkt24/z2/backend/core/transaction.go

17 lines
269 B
Go
Raw Permalink Normal View History

2024-04-25 11:51:47 +00:00
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
}