355b1e3bb1
eth: randomly fetch announced block (don't hammer origin)
2015-06-10 19:47:59 +03:00
b9affbf9fe
eth: discard fetched blocks that don't fit (no goroutine)
2015-06-10 19:47:59 +03:00
858a6f0be9
Merge pull request #1230 from fjl/p2p-discover-fix-ping-test
...
p2p/discover: deflake TestUDP_successfulPing
2015-06-10 07:51:48 -07:00
a8e4cb6dfe
p2p/discover: use separate rand.Source instances in tests
...
rand.Source isn't safe for concurrent use.
2015-06-10 15:18:01 +02:00
261a8077c4
p2p/discover: deflake TestUDP_successfulPing
2015-06-10 13:08:21 +02:00
dffe6d32d6
Merge pull request #1222 from obscuren/state-vm-test-suit-fix
...
tests: check gas limit error
2015-06-09 14:20:41 -07:00
6a5c9aff3b
tests: check gas limit error
2015-06-09 22:49:33 +02:00
e972a116ac
Merge pull request #1221 from karalabe/fix-p2p-dial-test
...
p2p: fix a close race in the dial test
2015-06-09 22:00:49 +02:00
1cbbfbe7fa
p2p: fix a close race in the dial test
2015-06-09 22:26:26 +03:00
7e58949c3f
cmd/geth: develop version bump 0.9.29
2015-06-09 21:14:11 +02:00
667f5a09c3
Merge branch 'release/0.9.28' into develop
2015-06-09 21:12:44 +02:00
14994fa21b
rpc: skip test if solc version doesn't match
2015-06-09 21:02:24 +02:00
bc6031e7bb
core, xeth: moved nonce management burden from xeth to txpool
2015-06-09 21:01:02 +02:00
93f4852844
cmd/geth: bumped version number 0.9.28
2015-06-09 21:01:02 +02:00
5950755b12
Merge pull request #1220 from karalabe/fix-chain-deadlock2
...
core: fix a lock annoyance and potential deadlock
2015-06-09 12:00:47 -07:00
4541c22964
event/filter: hack around data race in the test
2015-06-09 21:33:39 +03:00
d652a58ada
core: fix a race condition accessing the gas limit
2015-06-09 21:13:21 +03:00
fecf214175
core: fix a lock annoyance and potential deadlock
2015-06-09 21:02:26 +03:00
5f341e5db5
Merge pull request #1212 from fjl/p2p-eth-block-timeout
...
eth, p2p: improve write timeouts and behaviour under load
2015-06-09 09:51:09 -07:00
73c355591f
core, eth: document that result of GetTransactions is modifiable
2015-06-09 17:07:10 +02:00
8dc3048f65
eth/downloader: fix hash fetch timeout handling
...
Fixes #1206
2015-06-09 17:07:10 +02:00
3239aca69b
p2p: bump global write timeout to 20s
...
The previous value of 5 seconds causes timeouts for legitimate messages
if large messages are sent.
2015-06-09 17:07:10 +02:00
2c24a73e25
eth: add protocol tests
...
The protocol tests were commented out when eth/downloader was introduced.
2015-06-09 17:07:10 +02:00
6c73a59806
eth: limit number of sent transactions based on message size
...
Nodes that are out of sync will queue many transactions, which causes
the initial transactions message to grow very large. Larger transactions
messages can make communication impossible if the message is too big to
send. Big transactions messages also exhaust egress bandwidth, which
degrades other peer connections.
The new approach to combat these issues is to send transactions in
smaller batches. This commit introduces a new goroutine that handles
delivery of all initial transaction transfers. Size-limited packs of
transactions are sent to one peer at a time, conserving precious egress
bandwidth.
2015-06-09 17:07:10 +02:00
41b2008a66
eth: limit number of sent blocks based on message size
...
If blocks get larger, sending 256 at once can make messages large
enough to exceed the low-level write timeout.
2015-06-09 17:06:31 +02:00
7aefe123e9
core/types: add Transaction.Size
2015-06-09 17:06:31 +02:00
fda49f2b52
Merge pull request #1213 from karalabe/polish-console-prettyprinter
...
jsre: patch up the pretty printer to have a decent look
2015-06-09 07:29:32 -07:00
d6f4c515f5
jsre: print function arguments too
2015-06-09 17:23:44 +03:00
c71ab2a6a3
Merge pull request #1219 from Gustav-Simonsson/precompiled_ec_recover_padding
...
Precompiled ec recover padding
2015-06-09 07:21:23 -07:00
7842559353
jsre: sort pretty print output, fields before funcs
2015-06-09 17:19:56 +03:00
6e3b58e491
Remove unneeded if check on EC recover padding
2015-06-09 16:03:05 +02:00
365576620a
Merge pull request #1216 from karalabe/fix-eth-dataraces
...
Fix various data races in eth and core
2015-06-09 06:53:49 -07:00
15166f880b
Skip BlockTests/bcValidBlockTests SimpleTx3
2015-06-09 15:53:31 +02:00
ad5b5a4895
Pad precompiled EC recover input and add validations
2015-06-09 15:41:15 +02:00
d8e55a5cc3
Skip VMTests RandomTests temporarily until they are fixed
2015-06-09 15:40:43 +02:00
e885a2912b
Update Ethereum JSON test files
2015-06-09 15:39:24 +02:00
ebf2aabd25
core: fix up a deadlock caused by double locking
2015-06-09 16:26:44 +03:00
60b780c21b
Merge pull request #1217 from tgerring/rpcsign
...
Fix RPC sign
2015-06-09 06:19:39 -07:00
76148515fa
skip sol on new compiler
2015-06-09 15:19:20 +02:00
ff84352fb7
p2p: fix close data race
2015-06-09 16:12:24 +03:00
f371e6c81a
Merge pull request #1156 from tgerring/issue1145
...
Differentiate between 0 and unspecified gas/gasprice
2015-06-09 05:49:55 -07:00
046411866b
Fixed signing + tests
2015-06-09 08:47:20 -04:00
ca8cb65b73
core: fix data race accessing ChainManager.currentBlock
2015-06-09 15:30:46 +03:00
07baf66200
core: fix data race in accessing ChainManager.td
2015-06-09 15:23:20 +03:00
1a96798642
gas -> gasprice
2015-06-09 08:13:26 -04:00
1c364b6beb
gas -> gasprice
2015-06-09 08:13:25 -04:00
c8a9a4e76d
Differentiate between 0 and unspecified gas/gasprice
2015-06-09 08:13:25 -04:00
d09ead546c
eth: fix a data race in the hash announcement processing
2015-06-09 15:09:15 +03:00
f86707713c
eth: fix data race accessing peer.td
2015-06-09 14:56:27 +03:00
3054fd4811
Merge pull request #1215 from obscuren/issue1202
...
core: skip genesis block for reprocess. Closes #1202
2015-06-09 04:46:13 -07:00