Victor Farazdagi
808310a569
node: fix pointer dereference issue in StartRPC ( #3532 )
8 years ago
Valentin Wüstholz
0a5450fe04
cmd/disasm: fix array-out-of-bounds error ( #3491 )
8 years ago
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.
8 years ago
Péter Szilágyi
17182732f5
Merge pull request #3526 from karalabe/misspell
...
all: fix spelling errors
8 years ago
Péter Szilágyi
18c77744ff
all: fix spelling errors
8 years ago
Péter Szilágyi
ac93a6ff6c
Merge pull request #3525 from fjl/all-gosimple-cleanup
...
all: clean up lint issues, remove more dead code
8 years ago
Felix Lange
13e3b2f433
logger, pow/dagger, pow/ezp: delete dead code
8 years ago
Felix Lange
f2da6581ba
all: fix issues reported by honnef.co/go/simple/cmd/gosimple
8 years ago
Péter Szilágyi
444fc892b0
Merge pull request #3524 from karalabe/mobile-signwith-swift-fixup
...
mobile: rename passphrase signing method to avoid Swift rewrite
8 years ago
Péter Szilágyi
b56aee3697
mobile: rename passphrase signing method to avoid Swift rewrite
8 years ago
Felix Lange
35a7dcb162
all: gofmt -w -s
8 years ago
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.
8 years ago
Péter Szilágyi
59b8245bbc
Merge pull request #3516 from fjl/types-drop-sign-ecdsa
...
core/types: remove redundant SignECDSA wrappers, rename to SignTx
8 years ago
Péter Szilágyi
8f9daaa3ba
Merge pull request #3518 from fjl/ethclient-dependency-cleanup
...
core/types: dependency cleanup
8 years ago
Felix Lange
d3b751e4d9
trie: remove dependency on ethdb
...
This removes the core/types -> leveldb dependency.
8 years ago
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.
8 years ago
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.
8 years ago
Zsolt Felfoldi
66979aa468
light: fixed data race in TestTxPool
8 years ago
Zsolt Felfoldi
93f9c023cc
les: fixed selectPeer deadlock, improved request distribution
...
les/flowcontrol: using proper types for relative and absolute times
8 years ago
Péter Szilágyi
e0ee0cc66a
Merge pull request #3517 from karalabe/empty-ios-prefix
...
build: finally settle on empty iOS ObjC package prefixes
8 years ago
Péter Szilágyi
9b135a9c20
build: finally settle on empty iOS ObjC package prefixes
8 years ago
Felix Lange
e171bf74f8
core/types: remove redundant SignECDSA wrappers, rename to SignTx
8 years ago
Péter Szilágyi
bb2e99dfc2
Merge pull request #3417 from karalabe/mobile-polishes
...
Account management API polishes
8 years ago
Péter Szilágyi
b37d175e59
accounts, internal, mobile: polish accounts API, extend Android tests
8 years ago
Maran
f087633efd
swarm/api/http: add support for CORS headers ( #3388 )
8 years ago
Péter Szilágyi
bbce726c8a
Merge pull request #3515 from bas-vk/exportropsten
...
core,cmd/utils: bugfix for ropsten dump imports
8 years ago
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.
8 years ago
RJ
2126d81488
accounts/abi: add support for function types ( #3405 )
8 years ago
Péter Szilágyi
06b381d1c9
cmd/utils: disallow `--fakepow` for live operation ( #3512 )
8 years ago
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.
8 years ago
Bas van Kervel
a1798a8188
core,cmd/utils: bugfix for ropsten dump imports
8 years ago
Péter Szilágyi
0fac8cba47
Merge pull request #3511 from karalabe/live-fakepow
...
cmd/utils, eth, les: bubble --fakepow flag into eth/les too
8 years ago
Péter Szilágyi
1ca74aba6f
Merge pull request #3505 from bas-vk/txinblock
...
ethclient: hex encode request args for TransactionInBlock
8 years ago
Péter Szilágyi
2ce30382d9
cmd/utils, eth, les: bubble --fakepow flag into eth/les too
8 years ago
Bas van Kervel
8bc545be2a
ethclient: hex encode request args for TransactionInBlock
8 years ago
Péter Szilágyi
891fcd8ce1
Merge pull request #3486 from bas-vk/txbyhash
...
ethclient: pass ptr when parsing eth_getTransactionByHash result
8 years ago
Guillaume NICOLAS
bd06091874
mobile: add SetVerbosity ( #3492 )
8 years ago
Péter Szilágyi
3e3edcc465
Merge pull request #3490 from karalabe/fix-miner-api
...
eth: fix miner start API to accept int, not hexint
8 years ago
Péter Szilágyi
89a32267f7
eth: fix miner start API to accept int, not hexint
8 years ago
Bas van Kervel
021177ca9b
ethclient: pass ptr when parsing eth_getTransactionByHash result
8 years ago
Péter Szilágyi
115364b0a9
Merge pull request #3475 from fjl/rpc-hex-improvements
...
rpc: remove HexBytes, HexNumber
8 years ago
bas-vk
6d15d00ac4
accounts/abi: add support for "anonymous" and "indexed" for events ( #3464 )
8 years ago
Valentin Wüstholz
bdaa43510b
cmd/disasm: fix off-by-one error and improve error handling ( #3482 )
8 years ago
Aron Fischer
9a51f5c350
swarm/http: check error returned by reader.Size ( #3470 )
8 years ago
Aron Fischer
301c0a6303
swarm/storage: call size before seek-from-end ( #3469 )
8 years ago
Aron Fischer
65f486ff02
swarm/api: check for zero length manifest error ( #3468 )
8 years ago
Péter Szilágyi
df096a7771
Merge pull request #3479 from karalabe/android-ropsten-dao
...
mobile: fix ropsten chain configs
8 years ago
Péter Szilágyi
0e9a9f243f
mobile: fix ropsten chain configs
8 years ago
Felix Lange
12c964b2b7
internal/ethapi: fix hex handling for eth_call input and eth_sendRawTransaction
8 years ago
Felix Lange
cf71f5cd60
rpc: remove HexNumber, replace all uses with hexutil types
...
This change couldn't be automated because HexNumber was used for numbers
of all sizes.
8 years ago