aboutsummaryrefslogtreecommitdiffstats
path: root/core/events.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-11 17:59:35 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-11 17:59:35 +0800
commit5176fbc6faaa5e7f0305ad7f2b896c092781deaa (patch)
tree4d6a6e160deaf11d4bb6296870e11f299b7b9bf0 /core/events.go
parent6674ea8d67012a8ad1227738c69b8997962fe141 (diff)
parent6ecba12650f2d20eded5f4f09fb312d84e81d909 (diff)
downloaddexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar
dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar.gz
dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar.bz2
dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar.lz
dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar.xz
dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.tar.zst
dexon-5176fbc6faaa5e7f0305ad7f2b896c092781deaa.zip
Merge pull request #908 from obscuren/develop
core, eth, miner: improved tx removal & fatal error on db sync err
Diffstat (limited to 'core/events.go')
-rw-r--r--core/events.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/events.go b/core/events.go
index 3da668af5..1ea35c2f4 100644
--- a/core/events.go
+++ b/core/events.go
@@ -1,8 +1,10 @@
package core
import (
- "github.com/ethereum/go-ethereum/core/types"
+ "math/big"
+
"github.com/ethereum/go-ethereum/core/state"
+ "github.com/ethereum/go-ethereum/core/types"
)
// TxPreEvent is posted when a transaction enters the transaction pool.
@@ -44,6 +46,8 @@ type ChainUncleEvent struct {
type ChainHeadEvent struct{ Block *types.Block }
+type GasPriceChanged struct{ Price *big.Int }
+
// Mining operation events
type StartMining struct{}
type TopMining struct{}