Jeffrey Wilcke
b6ec1c720f
Merge pull request #797 from tgerring/bootnodes
...
Bootnodes update
2015-04-23 11:53:18 -07:00
Jeffrey Wilcke
f5e0388f62
Merge pull request #778 from bas-vk/issue764
...
Moved database update loop to eth/backend
2015-04-23 11:46:27 -07:00
Jeffrey Wilcke
abe08d7be3
Merge pull request #794 from Gustav-Simonsson/block_tests_more_validations
...
Add block header validations for block tests
2015-04-23 11:41:57 -07:00
Jeffrey Wilcke
94f2adb80a
Merge pull request #792 from veox/doc-crypto-secp256k1
...
doc: crypto/secp256k1 GMP dependency package name.
2015-04-23 08:11:11 -07:00
Jeffrey Wilcke
2f8809df40
Merge pull request #769 from obscuren/develop
...
core: transaction queue
2015-04-23 02:59:56 -07:00
obscuren
7f14fbd579
core: pending txs now re-validated once every second
2015-04-23 11:50:12 +02:00
obscuren
48135657c4
miner: show error message for gas limit per account
2015-04-23 11:50:12 +02:00
obscuren
d7bab21681
natspec: fixed test to work with new queued transactions
2015-04-23 11:50:12 +02:00
obscuren
fba40e18d9
core: added accessor for queued transactions
2015-04-23 11:50:12 +02:00
obscuren
d3be1a2719
eth: moved mined, tx events to protocol-hnd and improved tx propagation
...
Transactions are now propagated to peers from which we have not yet
received the transaction. This will significantly reduce the chatter on
the network.
Moved new mined block handler to the protocol handler and moved
transaction handling to protocol handler.
2015-04-23 11:50:12 +02:00
obscuren
888ece0cb2
core: fixed test
2015-04-23 11:50:12 +02:00
obscuren
7edbb0110f
core: set the state for the managed tx state
...
Set the state for the managed tx state instead of creating a new
managed state.
2015-04-23 11:50:12 +02:00
obscuren
1506e00a23
core: improved error message for invalid nonce txs
2015-04-23 11:50:11 +02:00
obscuren
7138404cb0
core: only post event once per tx & fixed test
2015-04-23 11:50:11 +02:00
obscuren
4feb5f6f9c
xeth, miner: updated some logging
2015-04-23 11:50:11 +02:00
obscuren
5cb5df003d
eth: start tx pool in a goroutine
2015-04-23 11:50:11 +02:00
obscuren
498b24270a
core: implemented a queued approach processing transactions
...
Implemented a new transaction queue. Transactions with a holes in their
nonce sequence are also not propagated over the network.
N: 0,1,2,5,6,7 = propagate 0..2 -- 5..N is kept in the tx pool
2015-04-23 11:50:11 +02:00
Jeffrey Wilcke
2fe54ab233
Merge pull request #779 from Gustav-Simonsson/block_tests_reloaded
...
Block tests reloaded
2015-04-23 02:49:51 -07:00
Jeffrey Wilcke
0071fbed8c
Merge pull request #780 from maran/arm_build
...
Adding flags to facilitate cross compiling to ARM
2015-04-23 02:22:39 -07:00
Jeffrey Wilcke
67cc80ba66
Merge pull request #786 from tgerring/issue739
...
Empty Call response should return 0x instead of 0x00. Closes #739
2015-04-23 02:22:35 -07:00
Jeffrey Wilcke
8eefcb8493
Merge pull request #782 from alexvandesande/develop
...
Changed "Welcome to the Frontier" to something more geeky
2015-04-23 02:11:32 -07:00
Jeffrey Wilcke
359a9773a1
Merge pull request #783 from tgerring/issue777
...
Issue 777
2015-04-23 02:11:20 -07:00
Jeffrey Wilcke
69788cb973
Merge pull request #784 from tgerring/issue737
...
Rename eth_Version to eth_protocolVersion. Closes #737
2015-04-23 02:05:20 -07:00
Jeffrey Wilcke
35595560f0
Merge pull request #776 from fjl/win32-build-fixes
...
Win32 build fixes
2015-04-22 06:50:50 -07:00
Jeffrey Wilcke
15550dc8c5
Merge pull request #766 from tgerring/issue762
...
Treat hexnums as big.Int instead of int64. Closes #762
2015-04-22 02:42:16 -07:00
Jeffrey Wilcke
4ddbf81e74
Updated README to include windows builds
2015-04-21 12:38:01 +02:00
Jeffrey Wilcke
4ad8b28794
Merge pull request #760 from obscuren/develop
...
core: transaction fixes
2015-04-21 03:14:38 -07:00
obscuren
6c2b703c58
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
2015-04-21 12:14:07 +02:00
Jeffrey Wilcke
1dc91975ad
Merge pull request #756 from Gustav-Simonsson/block_test_improvements
...
Block test improvements
2015-04-21 03:09:35 -07:00
obscuren
f4cd66dc00
blockpool: deleted
2015-04-21 12:03:02 +02:00
obscuren
ed0817c55d
core/rpc: fix for null entries in log filters. Closes #725
...
You can now specify `null` as a way of saying "not interested in this
topic, match all". core.Filter assumes the zero'd address to be the
wildcard. JSON rpc assumes empty strings to be wildcards.
2015-04-21 12:00:57 +02:00
Jeffrey Wilcke
8fce55b4c2
Merge pull request #763 from aboreum/develop
...
Remove "minGasPrice" field from JSON responses. Closes. #754
2015-04-21 02:30:40 -07:00
obscuren
093d6d5074
core: removed nonce resetting from the block processor.
...
All nonce error handling has been moved to the worker
2015-04-21 11:27:12 +02:00
obscuren
1d6d42919e
miner: ignore a tx's transactor after a gas limit has been returned
...
When worker encounters a gas limit error, subsequent txs should be
ignored from that particular account. This will prevent:
1. Nonce errors been thrown all around
2. The "Known tx" error. Closes #719
3. Repeated contract address. Closes #731
2015-04-21 11:26:04 +02:00
Jeffrey Wilcke
4a240608d4
Merge pull request #761 from aboreum/develop
...
trivial fix for: Broken link for detailed go build instructions #661
2015-04-20 16:04:44 -07:00
obscuren
79bef9eb16
Merge branch 'develop' of github.com-obscure:obscuren/go-ethereum into develop
2015-04-20 21:57:00 +02:00
obscuren
b8160cc6d4
core: shuffled some code
2015-04-20 20:37:40 +02:00
Jeffrey Wilcke
99e825ad96
Merge pull request #734 from bas-vk/issue-729
...
admin.StopRPC added to console
2015-04-20 10:34:50 -07:00
Jeffrey Wilcke
3d7c1b8194
Merge pull request #755 from karalabe/command-flags-cleanup
...
cmd/geth, cmd/utils: add cli flags for pprof and whisper
2015-04-20 09:17:04 -07:00
obscuren
f28b2bb6ed
core: upgraded block chain version
2015-04-20 18:12:05 +02:00
obscuren
3b45fedb81
Merge branch 'ethersphere-frontier/natspec' into develop
2015-04-20 18:09:10 +02:00
obscuren
36ec42e50c
Merge branch 'frontier/natspec' of https://github.com/ethersphere/go-ethereum into ethersphere-frontier/natspec
2015-04-20 18:08:14 +02:00
obscuren
76025cc424
geth: added a admin.debug.block command which reprocess the block
2015-04-20 16:03:19 +02:00
obscuren
72d065d491
core: force block process & fixed chain manager test
2015-04-20 16:02:50 +02:00
obscuren
97a9753f87
core: added chain reset mechanism on bad blocks
2015-04-20 12:58:17 +02:00
obscuren
45da3e17e2
core: added chain head reset to known block
2015-04-20 12:29:02 +02:00
obscuren
52584596d4
geth: bump version number
2015-04-20 12:01:39 +02:00
obscuren
97b0c4b697
core: moved TD calculation from proc to chain
2015-04-20 12:01:20 +02:00
obscuren
fa729a0c55
miner: go fmt
2015-04-20 00:41:50 +02:00
obscuren
2cc9211269
miner: fixed remote miner current work
2015-04-19 21:58:58 +02:00
obscuren
ea11dba00b
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
2015-04-19 21:46:41 +02:00
obscuren
5dd56bb474
geth: admin download status
2015-04-19 21:46:19 +02:00
obscuren
2c1a6a349b
miner: removed default timer & update dag when threads > 0
2015-04-19 21:45:40 +02:00
Jeffrey Wilcke
e6d36fe356
Merge pull request #748 from fjl/build-script-unix
...
Makefile: for non-gophers
2015-04-19 17:58:42 +02:00
obscuren
ed07ffcde5
downloader: fixed tests with low ttl
2015-04-19 17:37:01 +02:00
obscuren
dcf1a1988a
moved
2015-04-19 17:14:15 +02:00
obscuren
8eff550e8b
Merge branch 'fjl-rlp-size-validation' into develop
2015-04-19 17:07:59 +02:00
obscuren
8f3a7e41de
Merge branch 'rlp-size-validation' of https://github.com/fjl/go-ethereum into fjl-rlp-size-validation
...
Conflicts:
eth/protocol.go
2015-04-19 17:07:40 +02:00
obscuren
4683f9c0a7
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
2015-04-19 13:33:39 +02:00
obscuren
cce4158cfc
Removed debug println
2015-04-19 13:33:14 +02:00
obscuren
3d497be9bd
eth: drop blocks with low TD
2015-04-19 13:31:37 +02:00
obscuren
6e1aa91aaf
geth: added getBlockRlp for dumping block in rlp format
2015-04-19 13:30:55 +02:00
obscuren
c58918c84a
downloader: moved chunk ignoring. Fixes issue with catching up
2015-04-19 13:30:34 +02:00
Jeffrey Wilcke
9ec56637f9
Merge pull request #749 from fjl/fix-nodekey-persistence
...
Fix p2p node key persistence
2015-04-19 01:56:56 +02:00
obscuren
4340996572
eth: temp 100% block propagation because of the current state of the net
2015-04-19 01:40:01 +02:00
obscuren
5c59d95532
downloader: defer peer reset after download
2015-04-19 01:39:37 +02:00
obscuren
86ecdcd5ff
downloader: reset hashTtl on receive
2015-04-19 00:15:05 +02:00
obscuren
71aa5fe8a3
Merge branch 'downloader-proto' into develop
2015-04-19 00:09:12 +02:00
obscuren
164b878854
cleanup
2015-04-19 00:08:57 +02:00
obscuren
434dea3caf
eth: removed debug messages to stdout
2015-04-19 00:03:26 +02:00
obscuren
50e096e627
downloader: don't remove peers. keep them around
2015-04-18 23:56:08 +02:00
obscuren
03b4cf74a2
geth: added identity flag which allows to set a custom node name
2015-04-18 23:53:30 +02:00
obscuren
d34e4dc5ac
Merge branch 'develop' into downloader-proto
2015-04-18 21:26:43 +02:00
obscuren
84f1af6413
core: merge using equal block numbers rather than the current block
2015-04-18 21:23:42 +02:00
obscuren
c8cc523d4d
miner: reverted back to old event
2015-04-18 20:51:05 +02:00
obscuren
a1d97ea4db
typo
2015-04-18 20:35:49 +02:00
obscuren
c6c22301fa
miner: changed listener
2015-04-18 20:26:17 +02:00
obscuren
6830ddb659
downloader: free up peers from work when the downloader resets
2015-04-18 20:25:55 +02:00
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.
2015-04-18 19:30:29 +02:00
obscuren
78e37e98e7
downloader: fixed a race condition for download status
2015-04-18 19:14:25 +02:00
obscuren
0d536734fe
eth: adapted to new synchronous api of downloader's AddBlock
2015-04-18 18:57:59 +02:00
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
2015-04-18 18:55:13 +02:00
obscuren
60613b57d1
downloader: make sure that hashes are only accepted from the active peer
2015-04-18 17:35:03 +02:00
obscuren
ff67fbf964
Merge branch 'develop' into downloader-proto
2015-04-18 15:14:56 +02:00
obscuren
525cefa37a
updated ethash
2015-04-18 15:14:44 +02:00
obscuren
8244825bbf
downloader: reset the queue if a peer response with an empty hash set
2015-04-18 15:14:12 +02:00
obscuren
eef4776b5b
eth: ignore NewBlockMsg with lower td
2015-04-18 14:25:22 +02:00
obscuren
1bc2d83b6f
core: improved uncle validation error message
2015-04-18 14:24:44 +02:00
obscuren
8f873b762b
downloader: all handlers check for isBusy
2015-04-18 03:15:26 +02:00
obscuren
a6c0a75f9a
eth: fixed proper BroadcastBlock for mined blocks
2015-04-18 02:38:13 +02:00
obscuren
c39a7b5c0d
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
2015-04-18 02:33:04 +02:00
obscuren
89fd752659
rpc: set from. Closes #742
2015-04-18 02:32:55 +02:00
obscuren
f1ae3dc4aa
geth: bump version number
2015-04-18 02:27:50 +02:00
obscuren
12e8d9c4dd
eth: listen for mined blocks and propagate using the protocol manager
2015-04-18 02:27:37 +02:00
obscuren
ecc74d76cc
eth: drop blocks that are known
2015-04-18 02:24:24 +02:00
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.
2015-04-18 02:21:07 +02:00
obscuren
c2f410214c
eth: began split up of peers and protocol manager
2015-04-18 01:11:09 +02:00
obscuren
2339ee9910
Merge branch 'develop' into downloader-proto
...
Conflicts:
eth/downloader/downloader.go
2015-04-18 01:10:32 +02:00
obscuren
73eb8e8c20
eth: basic implementation of the downloader
2015-04-17 13:54:18 +02:00
Jeffrey Wilcke
d3ed3285e9
Merge pull request #733 from fjl/p2p-dial-timer
...
p2p: fix the dial timer
2015-04-17 11:32:55 +02:00