commit inicial do projeto
This commit is contained in:
13
internal/blockchain/block.go
Normal file
13
internal/blockchain/block.go
Normal file
@ -0,0 +1,13 @@
|
||||
package blockchain
|
||||
|
||||
import "dejo_node/internal/transactions"
|
||||
|
||||
// Block representa um bloco da blockchain.
|
||||
type Block struct {
|
||||
Hash string
|
||||
PreviousHash string
|
||||
Timestamp int64
|
||||
Transactions []transactions.Transaction
|
||||
Nonce int
|
||||
Finalized bool
|
||||
}
|
||||
Reference in New Issue
Block a user