Felix Lange
1b89bd5d26
core/state, core/types use package rlp for state, receipt serialisation
2015-12-18 12:09:10 +01:00
Felix Lange
9be5d5cd90
eth/downloader: fix negative balance issue in tests
...
The test chain generated by makeChainFork included invalid uncle
headers, crashing the generator during the state commit.
The headers were invalid because they used the iteration counter as the
block number, even though makeChainFork uses a block with number > 0 as
the parent. Fix this by introducing BlockGen.Number, which allows
accessing the actual number of the block being generated.
2015-12-18 12:09:10 +01:00
Jeffrey Wilcke
2baf1de00d
Merge pull request #1925 from fjl/p2p-dial-resolve
...
p2p: resolve incomplete dial targets
2015-12-18 11:31:55 +01:00
Felix Lange
b3f1f4c673
p2p/discover: attempt to deflake TestUDP_responseTimeouts
...
The test expected the timeout to fire after a matcher for the response
was added, but the timeout is random and fired sooner sometimes.
2015-12-17 23:44:56 +01:00
Felix Lange
6c41e675ec
p2p: resolve incomplete dial targets
...
This change makes it possible to add peers without providing their IP
address. The endpoint of the target node is resolved using the discovery
protocol.
2015-12-17 23:39:49 +01:00
Felix Lange
04c6369a09
p2p, p2p/discover: track bootstrap state in p2p/discover
...
This change simplifies the dial scheduling logic because it
no longer needs to track whether the discovery table has been
bootstrapped.
2015-12-17 23:38:54 +01:00
Felix Lange
d1f507b7f1
p2p/discover: support incomplete node URLs, add Resolve
2015-12-17 23:38:54 +01:00
Jeffrey Wilcke
82a024d425
Merge pull request #1997 from zsfelfoldi/gasprice2
...
core: tx pool skip price validation for "owned" transactions
2015-12-17 12:45:45 +01:00
Jeffrey Wilcke
24f856ad6b
Merge pull request #2077 from karalabe/fix-header-query-duplication
...
eth: fix #2076 , where end of hash query was interpreted number query
2015-12-17 10:37:21 +01:00
Felix Lange
e640861704
Merge pull request #2061 from zsfelfoldi/rpc-context
...
rpc: optionally passing context argument to rpc v2 api methods
2015-12-16 11:12:06 +01:00
Péter Szilágyi
e51eeb8104
eth: fix #2076 , where end of hash query was interpreted number query
2015-12-16 08:44:13 +02:00
zsfelfoldi
f3aac71fad
rpc/v2: optionally passing context argument to rpc v2 api methods
2015-12-16 03:48:08 +01:00
zsfelfoldi
975c591261
core: tx pool skip price validation for "owned" transactions
2015-12-16 03:21:17 +01:00
Felix Lange
b9aedeab0b
Merge pull request #2072 from karalabe/admin-debug-apis
...
core, eth, node, rpc: port the admin and debug API
2015-12-15 11:33:18 +01:00
Felix Lange
9c636d2490
Merge pull request #2070 from karalabe/android-archives
...
Makefile, cmd/geth: support building Android archives
2015-12-14 21:32:00 +01:00
Péter Szilágyi
d8370a4e15
core, eth, node, rpc: port the admin and debug API
2015-12-14 19:36:51 +02:00
Felix Lange
fa187a366d
Merge pull request #2035 from bas-vk/rcp-v2-rebase
...
rpc: new RPC implementation with pub/sub support
2015-12-14 17:38:10 +01:00
Bas van Kervel
eae81465c1
rpc: new RPC implementation with pub/sub support
2015-12-14 16:34:05 +01:00
Péter Szilágyi
03f090b30b
Makefile, cmd/geth: support building Android archives
2015-12-14 14:28:14 +02:00
Jeffrey Wilcke
787d71d659
Merge pull request #2056 from fjl/fix-account-format
...
crypto: "Crypto" -> "crypto" in web3 key format
2015-12-10 10:45:00 +01:00
Felix Lange
b2ffb76ca2
Merge pull request #2058 from karalabe/geth-framework
...
Makefile, cmd/geth: assemble ios xcode frameworks
2015-12-09 18:04:27 +01:00
Péter Szilágyi
0e4deeb6e7
Makefile, cmd/geth: assemble ios xcode frameworks
2015-12-08 18:05:43 +02:00
Felix Lange
38ff815485
Merge pull request #2003 from obscuren/abi-calling
...
accounts/abi: added output parsing & added call mechanism
2015-12-07 23:24:41 +01:00
Felix Lange
659d6b9b7c
Merge pull request #2051 from karalabe/store-transaction-fastsync
...
core: write individual transactions and receipts too on fast sync
2015-12-07 23:24:15 +01:00
Felix Lange
032453b3e7
crypto: "Crypto" -> "crypto" in web3 key format
2015-12-07 17:01:29 +01:00
Jeffrey Wilcke
2a3322ea14
Merge pull request #2034 from karalabe/always-allow-dyndials
...
p2p: always allow dynamic dials if network not disabled
2015-12-07 11:26:05 +01:00
Péter Szilágyi
1cecda8333
core: write individual transactions and receipts too on fast sync
2015-12-04 15:30:59 +02:00
Péter Szilágyi
4dee2000a3
Merge pull request #2037 from fjl/no-libgmp
...
crypto/secp256k1: remove dependency on libgmp
2015-12-04 12:27:16 +02:00
Jeffrey Wilcke
fece1fa9be
Merge pull request #2024 from obscuren/exp-logs
...
core: added a new RemovedLogEvent
2015-12-03 22:27:44 +01:00
Felix Lange
02356b36d6
crypto/secp256k1: remove dependency on libgmp
...
Turns out we actually don't need it, USE_NUM_NONE works
because we also set USE_FIELD_INV_BUILTIN.
2015-12-03 21:12:13 +01:00
Felix Lange
6d3a924283
Merge pull request #2036 from karalabe/ios-arm64-cross
...
Makefile: support 64bit ARM iOS cross builds
2015-12-03 21:09:09 +01:00
Péter Szilágyi
9acec62cf8
Makefile: support 64bit ARM iOS cross builds
2015-12-03 20:33:24 +02:00
Péter Szilágyi
abb53644c6
p2p: always allow dynamic dials if network not disabled
2015-12-03 11:45:35 +02:00
Jeffrey Wilcke
3eebeae363
Merge pull request #2032 from karalabe/linux-arm64-cross
...
Makefile: enable 64-bit ARM builds on Linux
2015-12-02 21:27:52 +01:00
Péter Szilágyi
98d68cfa91
Makefile: enable 64-bit ARM builds on Linux
2015-12-02 16:57:15 +02:00
Jeffrey Wilcke
888e7bc765
Merge pull request #1862 from Gustav-Simonsson/libsecp256k1_ecdh
...
crypto, crypto/secp256k1: use libsecp256k1 for scalar multiplication
2015-12-02 13:19:33 +01:00
Felix Lange
8db9d44ca9
Merge pull request #2025 from karalabe/windows-account-unlock-testfix
...
accounts: increase re-lock timeout to account for slow CI servers
2015-12-01 13:23:31 +01:00
Péter Szilágyi
2d4c228933
Merge pull request #2022 from karalabe/multiversion-arm-builds
...
Makefile: build ARM v5/v6/v7, drop high API mobile clients
2015-12-01 13:40:22 +02:00
Jeffrey Wilcke
96d86740a1
Merge pull request #2005 from zsfelfoldi/light-trie
...
Trie error handling
2015-12-01 12:28:26 +01:00
Jeffrey Wilcke
23031b1554
Merge pull request #2021 from fjl/fix-etherbase-no-accounts
...
cmd/utils: restore starting geth without any accounts and etherbase
2015-12-01 12:21:25 +01:00
Péter Szilágyi
2e43414c79
accounts: increase re-lock timeout to account for slow CI servers
2015-12-01 13:20:43 +02:00
Jeffrey Wilcke
9901a40f04
core: added a new RemovedLogEvent
...
When a chain reorganisation occurs we collect the logs that were deleted
during the chain reorganisation. The removed logs are posted to the
event mux indicating that those were deleted during the reorg.
2015-12-01 12:12:30 +01:00
Felix Lange
d648e96b3d
cmd/utils: restore starting geth without any accounts and etherbase
...
Also remove some duplication around address/index parsing.
2015-12-01 11:55:52 +01:00
Péter Szilágyi
391ca61678
Makefile: build ARM v5/v6/v7, drop high API mobile clients
2015-12-01 12:40:55 +02:00
Jeffrey Wilcke
f801ec78ce
Merge pull request #2020 from bas-vk/issue2016
...
eth package creates new event mux
2015-12-01 11:13:57 +01:00
Bas van Kervel
61ca14bc44
eth: use global event mux instead
2015-12-01 11:01:40 +01:00
zsfelfoldi
52904ae32f
trie: added error handling
...
Created alternate versions of Trie and SecureTrie functions that can return a MissingNodeError (used by ODR services)
2015-12-01 01:38:32 +01:00
Jeffrey Wilcke
f4a6470a7b
Merge pull request #2015 from bas-vk/console-instance-name
...
console: fix instance name printed incorrect on start
2015-11-30 14:46:21 +01:00
Gustav Simonsson
c8ad64f33c
crypto, crypto/ecies, crypto/secp256k1: libsecp256k1 scalar mult
...
thanks to Felix Lange (fjl) for help with design & impl
2015-11-30 13:43:32 +01:00
Gustav Simonsson
27a50c8f4b
core/secp256k1: update libsecp256k1 Go wrapper and tests
2015-11-30 13:24:04 +01:00