diff options
author | Jeffrey Wilcke <obscuren@users.noreply.github.com> | 2014-10-17 23:10:34 +0800 |
---|---|---|
committer | Jeffrey Wilcke <obscuren@users.noreply.github.com> | 2014-10-17 23:10:34 +0800 |
commit | df2b70853ff0764c4fcb181547eee3a66f7bda4a (patch) | |
tree | a70bf06660283bcc83f6a499cf9fed808d347a06 /ethchain/events.go | |
parent | 3b709852846317d3456f55f906afc327ba76d6df (diff) | |
parent | fa84e50ddb8e64d4cb92d58e235cfed13761f21e (diff) | |
download | go-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.tar go-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.tar.gz go-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.tar.bz2 go-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.tar.lz go-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.tar.xz go-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.tar.zst go-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.zip |
Merge pull request #58 from fjl/feature/event
Blocking event package
Diffstat (limited to 'ethchain/events.go')
-rw-r--r-- | ethchain/events.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ethchain/events.go b/ethchain/events.go new file mode 100644 index 000000000..05c21edfe --- /dev/null +++ b/ethchain/events.go @@ -0,0 +1,10 @@ +package ethchain + +type TxEvent struct { + Type int // TxPre || TxPost + Tx *Transaction +} + +type NewBlockEvent struct { + Block *Block +} |