go-ethereum/rollup/transition_batch_submitter.go
Will Meister e14cfa5576
Limiting Geth to one transaction per block (#3)
* Limiting Geth to one transaction per block
* Adding TransitionBatchBuilder to build & submit rollup blocks
2020-05-14 14:45:42 -05:00

15 lines
324 B
Go

package rollup
type RollupTransitionBatchSubmitter interface {
submit(block *TransitionBatch) error
}
type TransitionBatchSubmitter struct{}
func NewBlockSubmitter() *TransitionBatchSubmitter {
return &TransitionBatchSubmitter{}
}
func (d *TransitionBatchSubmitter) submit(block *TransitionBatch) error {
return nil
}