Jeffrey Wilcke
7c1f74713e
event: fixed subscribtions to stopped event mux
...
This fixes an issue where the following would lead to a panic due to a
channel being closed twice:
* Start mux
* Stop mux
* Sub to mux
* Unsub
This is fixed by setting the subscriptions status to closed resulting in
the Unsubscribe to ignore the request when called.
9 years ago
Péter Szilágyi
8e2bf42c46
event/filter: fix data race in the test
9 years ago
Péter Szilágyi
402fd6e8c6
core, eth, event, miner, xeth: fix event post / subscription race
9 years ago
Jeffrey Wilcke
f7a71996fb
core, event/filter, xeth: refactored filter system
...
Moved the filtering system from `event` to `eth/filters` package and
removed the `core.Filter` object. The `filters.Filter` object now
requires a `common.Database` rather than a `eth.Backend` and invokes the
`core.GetBlockByX` directly rather than thru a "manager".
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
bdae4fd573
all: add some godoc synopsis comments
9 years ago
Felix Lange
ea54283b30
all: update license information
9 years ago
Péter Szilágyi
4541c22964
event/filter: hack around data race in the test
10 years ago
obscuren
7e160a677d
xeth, core, event/filter, rpc: new block and transaction filters
10 years ago
obscuren
09147a50ed
Improved tx pool to ignore invalid transactions
...
Transaction pool will attempt to ignore invalid transactions it had
previously encountered.
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
55fdf3e462
Listen to tx pre event and trigger 'pending'
10 years ago
Taylor Gerring
6c04c19eb4
Reorg filter logic to XEth
10 years ago
obscuren
14a2f42f37
fixed chain event. Closes #529
10 years ago
obscuren
7c510109cd
skipping test
10 years ago
obscuren
7fc9b5b3f9
Changed to ChainEvent and fixed a nil pointer in transact
10 years ago
obscuren
44eafb15e0
Renamed filter
10 years ago
obscuren
c64852dbcc
pending / chain event
10 years ago
obscuren
65158d39b0
Filtering
10 years ago
obscuren
f3e78c8f3c
reworking messages => log
10 years ago
obscuren
34689cb3f3
Added manual triggering of filters
10 years ago
obscuren
35fe4313d5
pre-pow
10 years ago
obscuren
e3da85faed
Implemented filter for ws + fixes
...
* proper 0xhex
* filters fixed
* start of filter manager
* accounts for ws. Closes #246
10 years ago
obscuren
52b54631a4
Whisper watches fixes
10 years ago
obscuren
cdb2ebbdfa
Added old filter. Needs some refactoring
10 years ago
obscuren
ed1538248f
Moved filter to events
10 years ago
obscuren
14e2e488fd
Added `chain` tests & minor fixes
...
* Fork tests (equal and larger chains)
* `chain.link` fields are now exported
* moved debug function from state to dump.go
10 years ago
Taylor Gerring
2a5af8fac7
enable `go vet`
10 years ago
Felix Lange
fa84e50ddb
event: panic for duplicate type
10 years ago
Felix Lange
6906904896
event: make TypeMux zero value ready to use
10 years ago
Felix Lange
10bbf265b2
event: make Unsubscribe idempotent
10 years ago
Felix Lange
dac4a8f113
event: add some documentation
10 years ago
Felix Lange
f5b8775bed
event: new package for event multiplexer
10 years ago