f8c27d7159
eth/downloader: drop block
2015-04-29 19:55:04 +02:00
c930045834
core: fixed tetst to reflect (int, error) return by insertChain
2015-04-29 15:27:04 +02:00
dfbf580354
eth/downloader: ignore orphan blocks in the downloader.
...
When blocks have been sorted and are being processed, orphan blocks
should be ignored and thrown out. The protocol handler is responsible
for downloading blocks which have missing parents.
2015-04-29 14:49:37 +02:00
735b029db9
core: return the index of the block that failed when inserting a chain
2015-04-29 14:00:24 +02:00
764e81bf12
Merge pull request #825 from obscuren/develop
...
core: chain fork fix
2015-04-29 04:47:26 -07:00
bac4440e17
Merge pull request #822 from fjl/makefile-improvements
...
Makefile improvements
2015-04-29 04:43:38 -07:00
13364a2dcf
eth/downloader: reset the chain when parent is missing during processing
2015-04-29 13:40:39 +02:00
745c368987
cmd/geth: bump version number
2015-04-29 12:54:41 +02:00
4e07967711
core: fixed chain reorg during splits
...
Chain reorgs weren't properly handled when a chain was further ahead.
Previously we'd end up with mixed chains in our canonical numbering
sequence. Added test for this type of forking.
```
/-o-o-o A
o-C-+
\-o-o-o-o B
```
Ends up with with C A1, A2, A3, B4
2015-04-29 12:51:05 +02:00
af73d1d682
core/types: added fake parent hash / hash to String() output
2015-04-29 12:51:05 +02:00
4b7bdc3766
eth: check if downloader is busy before showing log message
2015-04-29 12:51:05 +02:00
7ac24d551b
core: seperated proccing mutex and getting mutex
2015-04-29 12:51:04 +02:00
9f32117457
core: bump database version
2015-04-29 12:51:04 +02:00
a4b79f1dac
core: moved mutex locks in insert blocks to start of function
...
Insert blocks will no longer allow processing of multiple chains at the
same time. The block lock has been moved to start of the function.
2015-04-29 12:51:04 +02:00
04a09b7e2d
core: set min gas price at startup
2015-04-29 12:51:04 +02:00
32373e3837
Merge pull request #828 from tgerring/pathfixes
...
Remove path separator literals
2015-04-29 01:54:47 -07:00
f8cdff9a5d
Remove path separator literals
2015-04-29 00:30:25 -05:00
aa03e53ca8
Use Makefile for Travis tests
2015-04-29 02:13:37 +02:00
c6b983e449
Makefile: add test target
2015-04-29 02:13:37 +02:00
72d8878084
cmd/mist: always enable whisper
...
The default value of the Shh option is true, but cli can't
see it because it is not part of the mist options.
2015-04-29 02:13:36 +02:00
eb5e43022e
cmd/geth, cmd/mist: use gitCommit in node name
2015-04-29 02:13:36 +02:00
71c28cfb0c
Makefile: set main.gitCommit when building
2015-04-29 02:13:36 +02:00
f4e5675303
cmd/mist: add blockchain version flag
...
This is necessary because cli doesn't see the default
value unless the flag is included.
2015-04-29 02:13:35 +02:00
26fbea5cb7
README: simplify build instructions
2015-04-29 02:13:35 +02:00
8fcd71920a
Makefile: clean should also delete Godeps/_workspace/pkg
2015-04-29 01:28:35 +02:00
12df8565cf
build: run build commands from the fake workspace root
...
This ensures that compiler error messages contain the correct path.
2015-04-29 01:28:35 +02:00
a6a49ccbf7
Merge pull request #821 from karalabe/nodedb-fix
...
p2p/discover: fix api issues caused by leveldb update
2015-04-28 04:07:14 -07:00
a7d894611e
Merge pull request #820 from fjl/rlp-readkind-overflow
...
rlp: fix list bounds check overflow (found by go-fuzz)
2015-04-28 04:04:32 -07:00
b569550a39
p2p/discover: fix api issues caused by leveldb update
2015-04-28 13:57:57 +03:00
91cb8cdd2a
Merge pull request #793 from karalabe/discovery-node-cache
...
p2p/discover: persistent node database
2015-04-28 03:40:10 -07:00
e88b410b4d
Merge pull request #819 from karalabe/leveldb-update
...
godeps: refresh leveldb, clean up stale dependencies
2015-04-28 02:40:49 -07:00
7e3b080f85
godeps: update leveldb and snappy, dump serpent-go
2015-04-28 12:18:01 +03:00
99027c79fe
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
...
Conflicts:
rpc/api.go
2015-04-28 11:17:41 +02:00
bac455c011
Merge branch 'kobigurk-develop' into develop
2015-04-28 11:16:22 +02:00
459d898705
eth, rpc, xeth: ext_hanhrate => eth_hashrate
2015-04-28 11:16:03 +02:00
46f63ef04f
Merge branch 'develop' of https://github.com/kobigurk/go-ethereum into kobigurk-develop
2015-04-28 11:10:44 +02:00
a05c420371
Merge pull request #738 from karalabe/whisper-cleanup
...
Whisper cleanup, part 3
2015-04-28 01:54:05 -07:00
dd49c8e43d
rlp: fix list bounds check overflow (found by go-fuzz)
...
The list size checking overflowed if the size information
for a value was bigger than the list. This is resolved by
always performing the check before reading.
2015-04-28 10:28:15 +02:00
978ffd3097
rpc, xeth: finish cleaning up xeth
2015-04-28 10:49:05 +03:00
2b9fd6b40a
whisper: add full filter test suite
2015-04-28 10:49:05 +03:00
406e74e2af
whisper: fix a small data race duirng peer connection
2015-04-28 10:49:05 +03:00
70ded4cbf0
xeth: fix un-decoded whisper RPC topic string bug
2015-04-28 10:49:04 +03:00
e252dae499
rpc: use nil topic wildcards instead of ""
2015-04-28 10:49:04 +03:00
db615a85ec
ui/qt/qwhisper, whisper, xeth: polish topic filter, fix wildcards
2015-04-28 10:49:04 +03:00
ae4bfc3cfb
rpc, ui/qt/qwhisper, whisper, xeth: introduce complex topic filters
2015-04-28 10:49:04 +03:00
15586368e5
whisper: fix spurious From identity with untargeted messages
2015-04-28 10:49:04 +03:00
87447f9f3f
whisper: fix payload loss in case of plaintext decrypt
2015-04-28 10:49:04 +03:00
7f48eb8737
whisper, xeth/whisper: surface TTL and hash to the API
2015-04-28 10:49:04 +03:00
19bc4624ea
eth: pull in a lost merge change
...
Ref: 21c4c155ee
2015-04-28 10:49:04 +03:00
7948cc0029
rpc, whisper, xeth: fix RPC message retrieval data race
2015-04-28 10:47:35 +03:00