aboutsummaryrefslogtreecommitdiff
path: root/coreth.go
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-08-14 15:19:28 -0400
committerDeterminant <[email protected]>2019-08-14 15:19:28 -0400
commit499f682b48f914ed4af0e32ba446dd0cf56e96b4 (patch)
tree62bbe47ce4f1de674fbca9c16709c98e729b08ec /coreth.go
parent485da638c7b3ecd2e23299252848d99258fb6727 (diff)
allow manual block generation
Diffstat (limited to 'coreth.go')
-rw-r--r--coreth.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/coreth.go b/coreth.go
index 0f65ca9..e769d06 100644
--- a/coreth.go
+++ b/coreth.go
@@ -53,6 +53,10 @@ func (self *ETHChain) Stop() {
self.backend.StopPart()
}
+func (self *ETHChain) GenBlock() {
+ self.backend.Miner().GenBlock()
+}
+
func (self *ETHChain) AddRemoteTxs(txs []*types.Transaction) []error {
return self.backend.TxPool().AddRemotes(txs)
}