aboutsummaryrefslogtreecommitdiffstats
path: root/events.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2014-10-14 07:58:31 +0800
committerFelix Lange <fjl@twurst.com>2014-10-17 00:50:48 +0800
commit36cdab206849c7e363e0b9911553098c3e8ca644 (patch)
tree5cf4093f0531b435e7dc4092953a60903d837429 /events.go
parent690690489610352d43f8547744b6c9486ad5affa (diff)
downloadgo-tangerine-36cdab206849c7e363e0b9911553098c3e8ca644.tar
go-tangerine-36cdab206849c7e363e0b9911553098c3e8ca644.tar.gz
go-tangerine-36cdab206849c7e363e0b9911553098c3e8ca644.tar.bz2
go-tangerine-36cdab206849c7e363e0b9911553098c3e8ca644.tar.lz
go-tangerine-36cdab206849c7e363e0b9911553098c3e8ca644.tar.xz
go-tangerine-36cdab206849c7e363e0b9911553098c3e8ca644.tar.zst
go-tangerine-36cdab206849c7e363e0b9911553098c3e8ca644.zip
all: use (blocking) event package instead of ethreact
Diffstat (limited to 'events.go')
-rw-r--r--events.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/events.go b/events.go
new file mode 100644
index 000000000..5fff1d831
--- /dev/null
+++ b/events.go
@@ -0,0 +1,11 @@
+package eth
+
+import "container/list"
+
+type PeerListEvent struct {
+ Peers *list.List
+}
+
+type ChainSyncEvent struct {
+ InSync bool
+}