obscuren
84f1af6413
core: merge using equal block numbers rather than the current block
10 years ago
obscuren
c8cc523d4d
miner: reverted back to old event
10 years ago
obscuren
a1d97ea4db
typo
10 years ago
obscuren
c6c22301fa
miner: changed listener
10 years ago
obscuren
6830ddb659
downloader: free up peers from work when the downloader resets
10 years ago
obscuren
7c5d50f627
downloader: throw an error if there are no peers available for download
...
If all peers have been tried during the block download process and some
hashes are unfetchable (available peers > 0 and fetching == 0) throw an
error so the process can be aborted.
10 years ago
obscuren
78e37e98e7
downloader: fixed a race condition for download status
10 years ago
obscuren
0d536734fe
eth: adapted to new synchronous api of downloader's AddBlock
10 years ago
obscuren
c2c24b3bb4
downloader: improved downloading and synchronisation
...
* Downloader's peers keeps track of peer's previously requested hashes
so that we don't have to re-request
* Changed `AddBlock` to be fully synchronous
10 years ago
obscuren
60613b57d1
downloader: make sure that hashes are only accepted from the active peer
10 years ago
obscuren
ff67fbf964
Merge branch 'develop' into downloader-proto
10 years ago
obscuren
525cefa37a
updated ethash
10 years ago
obscuren
8244825bbf
downloader: reset the queue if a peer response with an empty hash set
10 years ago
obscuren
eef4776b5b
eth: ignore NewBlockMsg with lower td
10 years ago
obscuren
1bc2d83b6f
core: improved uncle validation error message
10 years ago
obscuren
8f873b762b
downloader: all handlers check for isBusy
10 years ago
obscuren
a6c0a75f9a
eth: fixed proper BroadcastBlock for mined blocks
10 years ago
obscuren
c39a7b5c0d
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
10 years ago
obscuren
89fd752659
rpc: set from. Closes #742
10 years ago
obscuren
f1ae3dc4aa
geth: bump version number
10 years ago
obscuren
12e8d9c4dd
eth: listen for mined blocks and propagate using the protocol manager
10 years ago
obscuren
ecc74d76cc
eth: drop blocks that are known
10 years ago
obscuren
cc436c4b28
eth: additional cleanups to the subprotocol, improved block propagation
...
* Improved block propagation by sending blocks only to peers to which, as
far as we know, the peer does not know about.
* Made sub protocol its own manager
* SubProtocol now contains the p2p.Protocol which is used instead of
a function-returning-protocol thing.
10 years ago
obscuren
c2f410214c
eth: began split up of peers and protocol manager
10 years ago
obscuren
2339ee9910
Merge branch 'develop' into downloader-proto
...
Conflicts:
eth/downloader/downloader.go
10 years ago
Felix Lange
7dc6c33873
Merge pull request #736 from frozeman/develop
...
add extra space to miner icon
10 years ago
Fabian Vogelsteller
576393550d
add extra space to miner icon
10 years ago
Felix Lange
7180699d40
rlp: require declared number of input elements for array types
10 years ago
Felix Lange
9c7281c17e
p2p: make DiscReason bigger than byte
...
We decode into [1]DiscReason in a few places. That doesn't work anymore
because package rlp no longer accepts RLP lists for byte arrays.
10 years ago
Felix Lange
4d5a518a0b
rlp: stop accepting lists for byte slices and byte arrays
10 years ago
Felix Lange
574d5d6ae6
core/types: add rlp tag "nil" for Transaction.Recipient
10 years ago
Felix Lange
cad64fb911
rlp: stricter rules for structs and pointers
...
The rules have changed as follows:
* When decoding into pointers, empty values no longer produce
a nil pointer. This can be overriden for struct fields using the
struct tag "nil".
* When decoding into structs, the input list must contain an element
for each field.
10 years ago
Felix Lange
1e2c93aa2d
rlp: reject non-minimal input strings
...
Input strings of length 1 containing a byte < 56 are non-minimal and
should be encoded as a single byte instead. Reject such strings.
10 years ago
Felix Lange
6e9f8035a1
rlp: stricter validation of canonical integer format
...
All integers (including size information in type tags) need to be
encoded using the smallest possible encoding. This commit expands the
stricter validation introduced for *big.Int in commit 59597d23a5
to all integer types and size tags.
10 years ago
Felix Lange
6788f955c2
rlp: fix handling of single byte zero when decoding into a pointer
...
A single zero byte carries information and should not set the pointer
to nil. This is arguably a corner case. While here, fix the comment
to explain pointer reuse.
10 years ago
Felix Lange
509d0a8d78
whisper: fix comment for rlpenv
10 years ago
Felix Lange
eedbb1ee9a
p2p/discover: use rlp.DecodeBytes
10 years ago
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
obscuren
73eb8e8c20
eth: basic implementation of the downloader
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