6e1aa91aaf
geth: added getBlockRlp for dumping block in rlp format
2015-04-19 13:30:55 +02:00
c58918c84a
downloader: moved chunk ignoring. Fixes issue with catching up
2015-04-19 13:30:34 +02:00
61885aa965
Don't export types/functions
2015-04-19 10:01:50 +02:00
2c229bac00
Replaced channel pointer field with non pointer channel
2015-04-19 09:55:41 +02:00
9ec56637f9
Merge pull request #749 from fjl/fix-nodekey-persistence
...
Fix p2p node key persistence
2015-04-19 01:56:56 +02:00
4340996572
eth: temp 100% block propagation because of the current state of the net
2015-04-19 01:40:01 +02:00
5c59d95532
downloader: defer peer reset after download
2015-04-19 01:39:37 +02:00
4907d28967
crypto: update {Load,Save}ECDSA comments to mention hex encoding
2015-04-19 01:33:00 +02:00
da4a0e0555
eth: fix node key persistence
...
crypto.LoadECDSA has been modified to expect hex data.
The key was being saved as raw bytes, causing the file
to be rewritten on every start.
2015-04-19 01:28:41 +02:00
48f23746f0
Makefile: for non-gophers
...
Many people need or want to build go-ethereum from the git repository,
mostly to stay up to date with recent changes. We cannot expect that
people without Go experience grok the Go workspace concept.
With the Makefile, building from github requires only
three steps (provided that a Go toolchain is installed):
- git clone https://github.com/ethereum/go-ethereum
- ... install C libraries (libgmp, etc.) ...
- make
2015-04-19 00:42:34 +02:00
86ecdcd5ff
downloader: reset hashTtl on receive
2015-04-19 00:15:05 +02:00
71aa5fe8a3
Merge branch 'downloader-proto' into develop
2015-04-19 00:09:12 +02:00
164b878854
cleanup
2015-04-19 00:08:57 +02:00
c453f1f370
tests: hopefully improve test conversion helpers
...
(cherry picked from commit 035a30acbe
)
2015-04-19 00:07:09 +02:00
235ed7ecb9
cmd/geth, tests: enable running multiple tests from a single file
...
This commit also changes the block test loading so tests containing
invalid RLP blocks can be loaded and return an error only when they are
run.
(cherry picked from commit 898ba87984
)
2015-04-19 00:06:52 +02:00
434dea3caf
eth: removed debug messages to stdout
2015-04-19 00:03:26 +02:00
2ce21cefdc
eth: use NewDB hook also for extra DB
...
(cherry picked from commit d5083033f1
)
2015-04-18 23:59:31 +02:00
50e096e627
downloader: don't remove peers. keep them around
2015-04-18 23:56:08 +02:00
03b4cf74a2
geth: added identity flag which allows to set a custom node name
2015-04-18 23:53:30 +02:00
d34e4dc5ac
Merge branch 'develop' into downloader-proto
2015-04-18 21:26:43 +02:00
84f1af6413
core: merge using equal block numbers rather than the current block
2015-04-18 21:23:42 +02:00
c8cc523d4d
miner: reverted back to old event
2015-04-18 20:51:05 +02:00
a1d97ea4db
typo
2015-04-18 20:35:49 +02:00
c6c22301fa
miner: changed listener
2015-04-18 20:26:17 +02:00
6830ddb659
downloader: free up peers from work when the downloader resets
2015-04-18 20:25:55 +02:00
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.
2015-04-18 19:30:29 +02:00
78e37e98e7
downloader: fixed a race condition for download status
2015-04-18 19:14:25 +02:00
0d536734fe
eth: adapted to new synchronous api of downloader's AddBlock
2015-04-18 18:57:59 +02:00
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
2015-04-18 18:55:13 +02:00
60613b57d1
downloader: make sure that hashes are only accepted from the active peer
2015-04-18 17:35:03 +02:00
ff67fbf964
Merge branch 'develop' into downloader-proto
2015-04-18 15:14:56 +02:00
525cefa37a
updated ethash
2015-04-18 15:14:44 +02:00
8244825bbf
downloader: reset the queue if a peer response with an empty hash set
2015-04-18 15:14:12 +02:00
eef4776b5b
eth: ignore NewBlockMsg with lower td
2015-04-18 14:25:22 +02:00
1bc2d83b6f
core: improved uncle validation error message
2015-04-18 14:24:44 +02:00
8f873b762b
downloader: all handlers check for isBusy
2015-04-18 03:15:26 +02:00
a6c0a75f9a
eth: fixed proper BroadcastBlock for mined blocks
2015-04-18 02:38:13 +02:00
c39a7b5c0d
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
2015-04-18 02:33:04 +02:00
89fd752659
rpc: set from. Closes #742
2015-04-18 02:32:55 +02:00
f1ae3dc4aa
geth: bump version number
2015-04-18 02:27:50 +02:00
12e8d9c4dd
eth: listen for mined blocks and propagate using the protocol manager
2015-04-18 02:27:37 +02:00
ecc74d76cc
eth: drop blocks that are known
2015-04-18 02:24:24 +02:00
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.
2015-04-18 02:21:07 +02:00
c2f410214c
eth: began split up of peers and protocol manager
2015-04-18 01:11:09 +02:00
2339ee9910
Merge branch 'develop' into downloader-proto
...
Conflicts:
eth/downloader/downloader.go
2015-04-18 01:10:32 +02:00
7dc6c33873
Merge pull request #736 from frozeman/develop
...
add extra space to miner icon
2015-04-17 22:17:50 +02:00
576393550d
add extra space to miner icon
2015-04-17 15:00:37 +02:00
7180699d40
rlp: require declared number of input elements for array types
2015-04-17 14:45:10 +02:00
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.
2015-04-17 14:45:10 +02:00
4d5a518a0b
rlp: stop accepting lists for byte slices and byte arrays
2015-04-17 14:45:10 +02:00