Péter Szilágyi
d056b7fa52
params, VERSION: start 1.5.7 release cycle
2017-01-09 17:45:49 +02:00
Péter Szilágyi
2a609af518
Merge pull request #3537 from karalabe/release-1.5.6
...
params: stable version 1.5.6
2017-01-09 17:39:27 +02:00
Péter Szilágyi
1d5d6616ae
params: stable version 1.5.6
2017-01-09 17:30:35 +02:00
Péter Szilágyi
681b51aac4
Merge pull request #3519 from zsfelfoldi/light-topic5
...
les: fixed selectPeer deadlock, improved request distribution
2017-01-09 16:58:23 +02:00
Péter Szilágyi
4268cb8efe
Merge pull request #3534 from bas-vk/writemipmaprace
...
core: fix race condition in WriteMipmapBloom
2017-01-09 16:58:05 +02:00
Viktor Trón
3f1a72908c
cmd/swarm: uploader uses HTTP PUT for directories ( #3488 )
2017-01-09 15:19:56 +01:00
Bas van Kervel
2fed476ce1
core: fix race condition in WriteMipmapBloom
2017-01-09 15:35:58 +02:00
Péter Szilágyi
6cb39dd3da
Merge pull request #3529 from fjl/console-error-fix
...
console: fix error message in faux JSON-RPC responses
2017-01-09 13:46:15 +02:00
Péter Szilágyi
88cc1ca55a
Merge pull request #3533 from karalabe/modum-io-develop-2
...
accounts/abi: support custom int slice types
2017-01-09 11:49:17 +02:00
Thomas Bocek
1bd9769111
accounts/abi: fixed broken types slice testcases
...
Check for slice in type as well and adapted test case as arrays
also store its types.
2017-01-09 11:36:33 +02:00
Jeffrey Wilcke
47372813ef
accounts/abi: fixed comments
2017-01-09 11:36:33 +02:00
tbocek
fc213c873d
accounts/abi: added testcase to unpack []uint32
2017-01-09 11:36:32 +02:00
Thomas Bocek
972f0bd3db
accounts/abi: support custom int slice types
...
On solidity contract I have "uint32 []" type, when abigen creates Go
bindings - they are also "[]uint32" type on Go side. Even though it
looks like it should work - the actual type of the data coming from
the chain is of type " []*big.Int".
When executing contract function from Go side - getting unmarshal error:
abi: cannot unmarshal []*big.Int in to []uint32
The fix is to create array with the correct type
This fixed the issue reported in: https://github.com/ethereum/go-ethereum/issues/2802
2017-01-09 11:36:31 +02:00
Victor Farazdagi
808310a569
node: fix pointer dereference issue in StartRPC ( #3532 )
2017-01-08 15:55:37 +01:00
Valentin Wüstholz
0a5450fe04
cmd/disasm: fix array-out-of-bounds error ( #3491 )
2017-01-08 01:18:22 +01:00
Felix Lange
9bab0b8a24
console: fix error message in faux JSON-RPC responses
...
The message was used as both key and value in the error object.
This only affected unusual errors with no error code.
2017-01-08 00:55:48 +01:00
Péter Szilágyi
17182732f5
Merge pull request #3526 from karalabe/misspell
...
all: fix spelling errors
2017-01-06 20:03:44 +02:00
Péter Szilágyi
18c77744ff
all: fix spelling errors
2017-01-06 19:44:35 +02:00
Péter Szilágyi
ac93a6ff6c
Merge pull request #3525 from fjl/all-gosimple-cleanup
...
all: clean up lint issues, remove more dead code
2017-01-06 19:30:44 +02:00
Felix Lange
13e3b2f433
logger, pow/dagger, pow/ezp: delete dead code
2017-01-06 18:18:07 +01:00
Felix Lange
f2da6581ba
all: fix issues reported by honnef.co/go/simple/cmd/gosimple
2017-01-06 18:18:07 +01:00
Péter Szilágyi
444fc892b0
Merge pull request #3524 from karalabe/mobile-signwith-swift-fixup
...
mobile: rename passphrase signing method to avoid Swift rewrite
2017-01-06 18:04:19 +02:00
Péter Szilágyi
b56aee3697
mobile: rename passphrase signing method to avoid Swift rewrite
2017-01-06 17:47:15 +02:00
Felix Lange
35a7dcb162
all: gofmt -w -s
2017-01-06 15:52:03 +01:00
Felix Lange
e0fde02290
common/compiler: remove workaround for solc 0.3.5 stdin bug ( #3522 )
...
The crash when compiling stdin was fixed in solc 0.3.6 (released
2016-08-10). While here, simplify the test so it runs with any solc
version.
Fixes #3484 . The byte code was different for each run because recent
solc embeds the swarm hash of contract metadata into the code. When
compiling from stdin the name in the metadata is constant.
2017-01-06 15:39:35 +01:00
Péter Szilágyi
59b8245bbc
Merge pull request #3516 from fjl/types-drop-sign-ecdsa
...
core/types: remove redundant SignECDSA wrappers, rename to SignTx
2017-01-06 15:55:55 +02:00
Péter Szilágyi
8f9daaa3ba
Merge pull request #3518 from fjl/ethclient-dependency-cleanup
...
core/types: dependency cleanup
2017-01-06 15:42:03 +02:00
Felix Lange
d3b751e4d9
trie: remove dependency on ethdb
...
This removes the core/types -> leveldb dependency.
2017-01-06 14:15:22 +01:00
Felix Lange
7731061903
core/vm: move Log to core/types
...
This significantly reduces the dependency closure of ethclient, which no
longer depends on core/vm as of this change.
All uses of vm.Logs are replaced by []*types.Log. NewLog is gone too,
the constructor simply returned a literal.
2017-01-06 14:15:22 +01:00
Felix Lange
b9683d3748
params: avoid importing p2p/discover for bootnodes
...
params is imported by leaf-ish library packages and should not pull in
the p2p stack.
2017-01-06 14:15:21 +01:00
Zsolt Felfoldi
66979aa468
light: fixed data race in TestTxPool
2017-01-06 04:34:35 +01:00
Zsolt Felfoldi
93f9c023cc
les: fixed selectPeer deadlock, improved request distribution
...
les/flowcontrol: using proper types for relative and absolute times
2017-01-06 04:34:31 +01:00
Péter Szilágyi
e0ee0cc66a
Merge pull request #3517 from karalabe/empty-ios-prefix
...
build: finally settle on empty iOS ObjC package prefixes
2017-01-05 15:29:36 +02:00
Péter Szilágyi
9b135a9c20
build: finally settle on empty iOS ObjC package prefixes
2017-01-05 14:32:30 +02:00
Felix Lange
e171bf74f8
core/types: remove redundant SignECDSA wrappers, rename to SignTx
2017-01-05 12:59:17 +01:00
Péter Szilágyi
bb2e99dfc2
Merge pull request #3417 from karalabe/mobile-polishes
...
Account management API polishes
2017-01-05 13:57:12 +02:00
Péter Szilágyi
b37d175e59
accounts, internal, mobile: polish accounts API, extend Android tests
2017-01-05 12:58:03 +02:00
Maran
f087633efd
swarm/api/http: add support for CORS headers ( #3388 )
2017-01-05 11:57:41 +01:00
Péter Szilágyi
bbce726c8a
Merge pull request #3515 from bas-vk/exportropsten
...
core,cmd/utils: bugfix for ropsten dump imports
2017-01-05 12:54:45 +02:00
Jeffrey Wilcke
bbc4ea4ae8
core/vm: improved EVM run loop & instruction calling ( #3378 )
...
The run loop, which previously contained custom opcode executes have been
removed and has been simplified to a few checks.
Each operation consists of 4 elements: execution function, gas cost function,
stack validation function and memory size function. The execution function
implements the operation's runtime behaviour, the gas cost function implements
the operation gas costs function and greatly depends on the memory and stack,
the stack validation function validates the stack and makes sure that enough
items can be popped off and pushed on and the memory size function calculates
the memory required for the operation and returns it.
This commit also allows the EVM to go unmetered. This is helpful for offline
operations such as contract calls.
2017-01-05 11:52:10 +01:00
RJ
2126d81488
accounts/abi: add support for function types ( #3405 )
2017-01-05 11:46:44 +01:00
Péter Szilágyi
06b381d1c9
cmd/utils: disallow --fakepow
for live operation ( #3512 )
2017-01-05 11:40:56 +01:00
Péter Szilágyi
08eea0f0e4
accounts, core, crypto, internal: use normalised V during signature handling ( #3455 )
...
To address increasing complexity in code that handles signatures, this PR
discards all notion of "different" signature types at the library level. Both
the crypto and accounts package is reduced to only be able to produce plain
canonical secp256k1 signatures. This makes the crpyto APIs much cleaner,
simpler and harder to abuse.
2017-01-05 11:35:23 +01:00
Bas van Kervel
a1798a8188
core,cmd/utils: bugfix for ropsten dump imports
2017-01-05 11:31:57 +01:00
Péter Szilágyi
0fac8cba47
Merge pull request #3511 from karalabe/live-fakepow
...
cmd/utils, eth, les: bubble --fakepow flag into eth/les too
2017-01-04 13:27:51 +02:00
Péter Szilágyi
1ca74aba6f
Merge pull request #3505 from bas-vk/txinblock
...
ethclient: hex encode request args for TransactionInBlock
2017-01-04 12:43:27 +02:00
Péter Szilágyi
2ce30382d9
cmd/utils, eth, les: bubble --fakepow flag into eth/les too
2017-01-04 10:42:41 +02:00
Bas van Kervel
8bc545be2a
ethclient: hex encode request args for TransactionInBlock
2017-01-03 14:46:00 +01:00
Péter Szilágyi
891fcd8ce1
Merge pull request #3486 from bas-vk/txbyhash
...
ethclient: pass ptr when parsing eth_getTransactionByHash result
2017-01-03 10:56:22 +02:00
Guillaume NICOLAS
bd06091874
mobile: add SetVerbosity ( #3492 )
2017-01-02 18:12:31 +01:00