quorum/block.go

22 lines
324 B
Go
Raw Normal View History

2013-12-26 03:45:52 -08:00
package main
import (
_"fmt"
)
type Block struct {
transactions []*Transaction
}
func NewBlock(/* TODO use raw data */transactions []*Transaction) *Block {
block := &Block{
// Slice of transactions to include in this block
transactions: transactions,
}
return block
}
func (block *Block) Update() {
}