Jeffrey Wilcke
fb578f4550
Merge pull request #2405 from karalabe/abigen-default-methods
...
accounts/abi/bind: surface raw wrappers to access low level ops
9 years ago
Jeffrey Wilcke
8b2aca96c5
Merge pull request #2404 from obscuren/common-hash-json-length-validation
...
common: added Hash unmarshal json length validation
9 years ago
Jeffrey Wilcke
be44651523
Merge pull request #2402 from obscuren/eth-sign-fix
...
eth: enforce signing hashes using eth_sign instead of arbitrary data
9 years ago
Jeffrey Wilcke
c58079461b
Merge pull request #2281 from obscuren/configurable-genesis
...
core: homestead chain configuration & artificial gas floor target mining flag
9 years ago
Jeffrey Wilcke
d63e29241d
common: added Hash unmarshal json length validation
9 years ago
Péter Szilágyi
4097478884
accounts/abi/bind: surface raw wrappers to access low level ops
9 years ago
Jeffrey Wilcke
1f3596c25a
core: transition db now also returns the required gas amount
...
Exposes some core methods to transition and compute new state
information and adds an additional return value to the transition db
method to fetch required gas for that particular message (excluding gas
refunds from any SSTORE[X] = 0 and SUICIDE.
Fixes #2395
9 years ago
Jeffrey Wilcke
9055c16efa
accounts/a/b/backends, core: chain maker homestead block set to 0
...
The chain maker and the simulated backend now run with a homestead phase
beginning at block 0 (i.e. there's no frontier).
This commit also fixes up #2388
9 years ago
Jeffrey Wilcke
f0cbebb19f
core: added basic chain configuration
...
Added chain configuration options and write out during genesis database
insertion. If no "config" was found, nothing is written to the database.
Configurations are written on a per genesis base. This means
that any chain (which is identified by it's genesis hash) can have their
own chain settings.
9 years ago
Jeffrey Wilcke
916fe11241
eth: enforce signing hashes using eth_sign instead of arbitrary data
9 years ago
Péter Szilágyi
10d3466c93
Merge pull request #2383 from karalabe/goabi-exclusions-duplicates
...
accounts/abi/bind, cmd/abigen: dedup structs, exclude patterns
9 years ago
Jeffrey Wilcke
db739b506a
Merge pull request #2399 from karalabe/fix-trace-json-output
...
eth: fix accidental nil panic on nil errors
9 years ago
Péter Szilágyi
4326061e35
eth: fix accidental nil panic on nil errors
9 years ago
Péter Szilágyi
f115f077d7
Merge pull request #2398 from karalabe/fix-trace-json-output
...
eth: manually convert errors to strings on the trace API (json cannot)
9 years ago
Péter Szilágyi
6c670eff01
eth: manually convert errors to strings on the trace API (json cannot)
9 years ago
Péter Szilágyi
4ab593c5a1
accounts/abi/bind: support account slices, drop hash type
9 years ago
Péter Szilágyi
c2bbff6116
accounts/abi/bind: merge all tests into a single suite
9 years ago
Péter Szilágyi
787d688c2f
accounts/abi/bind: use anonymous ephemeral call result structs
9 years ago
Péter Szilágyi
b813e4d411
accounts/abi/bind, cmd/abigen: dedup structs, exclude patterns
9 years ago
Jeffrey Wilcke
798e4fb4ed
Merge pull request #2381 from karalabe/fix-abigen-tuples
...
accounts/abi/bind: fix double pointer in generated code
9 years ago
Péter Szilágyi
9b4a45f6e8
accounts/abi/bind: fix double pointer in generated code
9 years ago
Péter Szilágyi
cfb3a8ea8f
Merge pull request #2357 from karalabe/abi-binding-generator
...
accounts/abi/bind: Go ABI binding generator
9 years ago
Péter Szilágyi
73308dbe0e
accounts/abi/bind, cmd/abigen: port to templates, bind to solidity
9 years ago
Péter Szilágyi
86cfc22c79
accounts/abi/bind: constructor, auth utils and various backends
9 years ago
Péter Szilágyi
72826bb5ad
accounts/abi/bind, cmd/abigen: Go API generator around an EVM ABI
9 years ago
Jeffrey Wilcke
75c86f8646
Merge pull request #2141 from obscuren/evm-init
...
core, core/vm, tests: changed the initialisation behaviour of the EVM
9 years ago
Jeffrey Wilcke
0cfa21fc7f
core, eth, cmd: temporary work around for enabling the jit
...
This commit serves as a temporary workaround for enabling the jit until
the block customisation PR is merged in.
9 years ago
Jeffrey Wilcke
5f92606be2
eth/api: added root to the receipts
9 years ago
Jeffrey Wilcke
3601320ccd
eth, rpc: implemented block debugging rpc calls
...
Implemented the following block debugging RPC calls
* Block(RLP)
* BlockByFile(fileName)
* BlockByNumber(number)
* BlockByHash(hash)
9 years ago
Jeffrey Wilcke
14013372ae
core: Added EVM configuration options
...
The EVM is now initialised with an additional configured object that
allows you to turn on debugging options.
9 years ago
Jeffrey Wilcke
9866f19d6a
Merge pull request #2371 from hiddentao/fix_prompt_passwd_input
...
Strip extraneous carriage return from end of entered password
9 years ago
Ramesh Nair
6f30034413
cmd/utils: removed password line endings when not using liner.
9 years ago
Jeffrey Wilcke
77d21e472d
Merge pull request #2259 from bas-vk/http
...
rpc/http: improve request handling
9 years ago
Bas van Kervel
a7bae3b2a6
rpc/http: improve request handling
9 years ago
Jeffrey Wilcke
342ae7ce7d
core, core/vm, tests: changed the initialisation behaviour of the EVM
...
The EVM was previously initialised and created for every CALL, CALLCODE,
DELEGATECALL and CREATE. This PR changes this behaviour so that the same
EVM can be used through the session and beyond as long as the
Environment sticks around.
9 years ago
Péter Szilágyi
b3b110bc95
Merge pull request #2348 from obscuren/abi-variable-input
...
accounts/abi: Fixed bytes input accept []byte and variable input support
9 years ago
Péter Szilágyi
138e7af96c
Merge pull request #2354 from karalabe/miner-atomic-pending
...
eth, miner: fetch pending block/state in on go (data race)
9 years ago
Péter Szilágyi
8b6ae6bf86
Merge pull request #2355 from karalabe/abi-constant-functions-2
...
accounts/abi: handle the "constant" modifier for functions
9 years ago
Péter Szilágyi
270ea6eec3
accounts/abi: handle the "constant" modifier for functions
9 years ago
Péter Szilágyi
0228fb57cd
eth, miner: fetch pending block/state in on go (data race)
9 years ago
Péter Szilágyi
2855a93ede
Merge pull request #2341 from leijurv/patch-2
...
core: fixed various typos
9 years ago
Felix Lange
b5cee9738b
Merge pull request #2350 from leijurv/patch-3
...
core, eth: replace reorganiz with reorganis
9 years ago
Leif Jurvetson
434e4b31d8
core, eth: replace reorganiz with reorganis
9 years ago
Felix Lange
06fe6310a3
Merge pull request #2351 from leijurv/patch-4
...
core: various typos
9 years ago
Felix Lange
066d301520
Merge pull request #2352 from leijurv/patch-5
...
eth: various typos
9 years ago
Leif Jurvetson
bbbe2360d0
eth: various typos
9 years ago
Leif Jurvetson
b7bb2d8589
core: various typos
9 years ago
Leif Jurvetson
c7727191ae
core: fixed various typos
9 years ago
Jeffrey Wilcke
fe45210c55
accounts/abi: Fixed bytes input accept []byte and variable input support
...
Fixed up `[]byte` slice support such that `function print(bytes input)`
accepts `[]byte` as input and treats it as 1 element rather than a slice
of multiple elements.
Added support for variable length input parameters like `bytes` and
`strings`.
9 years ago
Péter Szilágyi
e189fb839c
Merge pull request #2327 from fjl/debug-fixes
...
cmd/utils, internal/debug: fixes for debugging
9 years ago