Felix Lange
2750ec47b7
rlp: fix integer overflow in list element size validation
...
It is not safe to add anything to s.size.
10 years ago
Felix Lange
56a48101dc
cmd/rlpdump, cmd/utils, eth, p2p, whisper: use rlp input limit
10 years ago
Felix Lange
c35f4fd0bd
rlp: check top-level value sizes against input limit
...
This is a preliminary fix for #420 (SEC-18 RLP decoder unsafe
allocation). If a sane input limit is set on the rlp.Stream,
it should no longer be possible to cause huge []byte allocations.
10 years ago
Felix Lange
4020258801
Merge pull request #718 from karalabe/whisper-cleanup
...
Whisper cleanup, part 2
10 years ago
Péter Szilágyi
4afc22ba6e
whisper: cleanup lefover scoping
10 years ago
Péter Szilágyi
bd14bd6c5b
whisper: hide some internal types
10 years ago
Jeffrey Wilcke
d3ed3285e9
Merge pull request #733 from fjl/p2p-dial-timer
...
p2p: fix the dial timer
10 years ago
Felix Lange
5528abc795
p2p: fix the dial timer
...
The dial timer was not reset properly when the peer count reached
MaxPeers.
10 years ago
Jeffrey Wilcke
545ff1e3f3
Merge pull request #728 from tgerring/issue727
...
Fix RPC Call output when empty
10 years ago
obscuren
2c2ddcbf88
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago
obscuren
eac2df02d1
downloader: fixed a typo
10 years ago
Jeffrey Wilcke
b6d1724dd9
Merge pull request #730 from Gustav-Simonsson/update_transaction_tests
...
Update transaction tests
10 years ago
Péter Szilágyi
e5a03eb066
whisper: don't issue signature warning if none present
10 years ago
Péter Szilágyi
e5e91e9eb3
whisper: track active peers, add peer cache expiry test
10 years ago
Péter Szilágyi
ee6531c5ff
whisper: remove dead code, rename a few constants
10 years ago
obscuren
205378016f
downloader: added demotion / promotion in prep. for rep. system
10 years ago
obscuren
eda10c7317
downloader: updated downloader and fixed issues with catch up
...
Properly ignore blocks coming from peers not in our peer list (blocked)
and do never request anything from bad peers. Added some checks to
account for blocks known when requesting hashes (missing parents).
10 years ago
obscuren
dff39553d4
core: changed split detection to also account for number less than
10 years ago
Gustav Simonsson
c617a6ec79
Fixes for TransactionTests
...
* Include tests which now has consistent HEX encodings
* Comment out two failing tests: "
"TransactionWithHihghNonce" due to wrong nonce size
"TransactionWithSvalueHigh" due to wrong ECDSA s range
* Cleanup conversion functions and fix expected encodings for
tests validation fields
10 years ago
Gustav Simonsson
2d8a2d0c99
Update JSON tests
10 years ago
Taylor Gerring
6388767df0
Fix call output when empty
10 years ago
obscuren
ec6cbb914b
miner: start a newly registered agent if the miner is running. Closes #681
10 years ago
obscuren
52c874a609
common: Added debug reporter
...
NOTE: For known, non-consensus, hard to reproduce bugs consider the
following method `common.Report("extra", stuff, "you need logged")` will
give you a stack trace and a friendly request to submit it as an issue
on our issue tracker.
10 years ago
obscuren
eaf73b55bc
miner: moved bad uncle logging to ridiculous log level. Closes #720
10 years ago
Péter Szilágyi
6ceb253f74
whisper: use async handshakes to handle blocking peers
10 years ago
obscuren
5d2138a2b2
core: fixed issue for logs filter. Closes #629
...
Log filter `Address` field was cast to a Hash which causes it to always
fail.
10 years ago
obscuren
ccb4722a59
core/types: Changed bloom lookup to take anything bytes backed
10 years ago
Péter Szilágyi
46ea193a49
whisper: remove some unneeded testing complexity
10 years ago
Péter Szilágyi
bcf41797ca
whisper: global message expiration tests, polishes
10 years ago
obscuren
d82aaf617c
rpc: changed logging to use glog
10 years ago
obscuren
f46af4508b
geth: fixed failing cli tests
10 years ago
obscuren
8db7b2374c
rpc: change eth_protocolVersion to eth_version. Closes #714
10 years ago
Péter Szilágyi
4fb7ab5d09
whisper: mock tests to use simulated peers
10 years ago
Péter Szilágyi
86372b20c0
whisper: add basic tests for the whiper peers
10 years ago
Péter Szilágyi
f6efdd8aad
whisper: shorten constants to TTL and PoW
10 years ago
Péter Szilágyi
1a4cfc173e
whisper, xeth/whisper, ui/qt/qwhispe: fix API polish breakages
10 years ago
Péter Szilágyi
e2b7498c9d
whisper: add known message expiration to peers, cleanup
10 years ago
obscuren
13eb46ea94
geth: added print block to admin
10 years ago
obscuren
9800c84348
eth: limit the amount of peers that will receive Block/Tx messages
...
All transaction and block messages are now limited using `sqrt(peers)`
10 years ago
obscuren
8310bcda61
state: fixed mutex lockes
10 years ago
obscuren
474aa924ca
p2p: added limiter function to limit package broadcasting
10 years ago
Péter Szilágyi
59bff46505
whisper: general cleanups, documentation
10 years ago
Péter Szilágyi
5205b2f19b
whisper: fix anonymous broadcast drop, add broadcast tests
10 years ago
Péter Szilágyi
4af7743663
whisper: add utility functions for creating topics
10 years ago
obscuren
b7e1b686aa
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago
Jeffrey Wilcke
2ea98d9b74
Merge pull request #704 from fjl/p2p-concurrency-fixups
...
p2p: more concurrency fixups
10 years ago
obscuren
07eebc38b2
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago
obscuren
333d4e0f27
core: during split properly insert parent blocks
...
During a split parent and grand parent were included in the database but
not in the canonical chain (numbered chain). Added a `merge` function
which finds the common ancestor of the chains and reinserts the missing
blocks.
10 years ago
Felix Lange
f6f9a0d515
Merge pull request #709 from ligi/patch-1
...
Fix links
10 years ago
ligi
3a33428578
Fix links
...
Where 404s before - now linking to the path that they stay valid a little longer ;-)
10 years ago