Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core, core/state, trie: EIP158, reprice & skip empty account write | Jeffrey Wilcke | 2016-11-13 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | This commit implements EIP158 part 1, 2, 3 & 4 1. If an account is empty it's no longer written to the trie. An empty account is defined as (balance=0, nonce=0, storage=0, code=0). 2. Delete an empty account if it's touched 3. An empty account is redefined as either non-existent or empty. 4. Zero value calls and zero value suicides no longer consume the 25k reation costs. params: moved core/config to params Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org> | ||||
* | core, core/vm: added gas price variance table | Jeffrey Wilcke | 2016-10-15 | 1 | -8/+8 |
| | | | | | | | | | | | | | This implements 1b & 1c of EIP150 by adding a new GasTable which must be returned from the RuleSet config method. This table is used to determine the gas prices for the current epoch. Please note that when the CreateBySuicide gas price is set it is assumed that we're in the new epoch phase. In addition this PR will serve as temporary basis while refactorisation in being done in the EVM64 PR, which will substentially overhaul the gas price code. | ||||
* | cmd, core, internal, light, tests: avoid hashing the code in the VM | Péter Szilágyi | 2016-10-01 | 1 | -1/+2 |
| | |||||
* | core, params, tests: add DAO hard-fork balance moves | Péter Szilágyi | 2016-07-15 | 1 | -8/+8 |
| | |||||
* | core: improved chainDb using sequential keys | zsfelfoldi | 2016-06-07 | 1 | -2/+2 |
| | |||||
* | all: fix go vet warnings | Felix Lange | 2016-04-15 | 1 | -1/+1 |
| | |||||
* | tests: remove eth, node, accounts dependencies | Felix Lange | 2016-04-12 | 1 | -42/+17 |
| | | | | Unlocking the accounts in the test doesn't help with anything. | ||||
* | core: added basic chain configuration | Jeffrey Wilcke | 2016-04-01 | 1 | -7/+8 |
| | | | | | | | | | 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. | ||||
* | Godeps, eth, tests: update ethash, used shared for testing | Péter Szilágyi | 2016-02-24 | 1 | -0/+1 |
| | |||||
* | tests: updated homestead tests | Jeffrey Wilcke | 2016-02-18 | 1 | -4/+4 |
| | |||||
* | parmas, crypto, core, core/vm: homestead consensus protocol changes | Gustav Simonsson | 2016-02-18 | 1 | -2/+3 |
| | | | | | | | | * change gas cost for contract creating txs * invalidate signature with s value greater than secp256k1 N / 2 * OOG contract creation if not enough gas to store code * new difficulty adjustment algorithm * new DELEGATECALL op code | ||||
* | cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks | Péter Szilágyi | 2015-11-27 | 1 | -15/+8 |
| | |||||
* | cmd/utils, crypto: add --lightkdf flag for lighter KDF | Drake Burroughs | 2015-10-29 | 1 | -1/+1 |
| | |||||
* | core/state, core, miner: handle missing root error from state.New | Gustav Simonsson | 2015-10-16 | 1 | -24/+27 |
| | |||||
* | cmd/geth, cmd/utils, core, rpc: renamed to blockchain | Jeffrey Wilcke | 2015-10-04 | 1 | -4/+4 |
| | | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted. | ||||
* | core, core/state: batch-based state sync | Felix Lange | 2015-09-23 | 1 | -6/+6 |
| | |||||
* | tests: use lastblockhash field to validate reorgs and block headers | Gustav Simonsson | 2015-09-18 | 1 | -41/+49 |
| | |||||
* | tests: update common test wrappers and test files | Gustav Simonsson | 2015-09-18 | 1 | -28/+57 |
| | |||||
* | all: move common.Database to package ethdb | Felix Lange | 2015-09-15 | 1 | -1/+1 |
| | |||||
* | core: split out TD from database and all internals | Péter Szilágyi | 2015-09-11 | 1 | -3/+2 |
| | |||||
* | Add tests for uncle timestamps and refactor timestamp type | Gustav Simonsson | 2015-08-25 | 1 | -3/+3 |
| | |||||
* | core, tests: Double SUICIDE fix | Jeffrey Wilcke | 2015-08-21 | 1 | -1/+1 |
| | |||||
* | core, eth, trie, xeth: merged state, chain, extra databases in one | Jeffrey Wilcke | 2015-08-08 | 1 | -1/+1 |
| | |||||
* | all: fix license headers one more time | Felix Lange | 2015-07-24 | 1 | -1/+1 |
| | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 1 | -4/+4 |
| | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | cmd, core, eth, common: genesis preparation | Jeffrey Wilcke | 2015-07-10 | 1 | -3/+2 |
| | | | | | Implemented the --genesis flag thru which we can set a custom genesis block, including the official Ethereum genesis block. | ||||
* | Unskip SimpleTx3, check err in pre/post state validations | Gustav Simonsson | 2015-07-08 | 1 | -8/+32 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 1 | -0/+16 |
| | |||||
* | cmd,eth,rpc,tests: default coinbase | Jeffrey Wilcke | 2015-07-07 | 1 | -1/+1 |
| | |||||
* | core, miner, tests: renamed state methods | Jeffrey Wilcke | 2015-07-04 | 1 | -1/+1 |
| | | | | | | | | | | | | * Update => SyncIntermediate * Added SyncObjects SyncIntermediate only updates whatever has changed, but, as a side effect, requires much more disk space. SyncObjects will only sync whatever is required for a block and will not save intermediate state to disk. As drawback this requires more time when more txs come in. | ||||
* | Update Ethereum JSON tests, skip failing | Gustav Simonsson | 2015-07-03 | 1 | -1/+1 |
| | |||||
* | core/types: make blocks immutable | Felix Lange | 2015-06-30 | 1 | -6/+5 |
| | |||||
* | Add --skip option to CLI | Taylor Gerring | 2015-06-19 | 1 | -7/+7 |
| | | | | | Disassociates hardcoded tests to skip when running via CLI. Tests still skipped when running `go test` | ||||
* | Add stdin option | Taylor Gerring | 2015-06-19 | 1 | -23/+57 |
| | |||||
* | Cleanup logging | Taylor Gerring | 2015-06-19 | 1 | -3/+3 |
| | |||||
* | Fix geth blocktest command | Taylor Gerring | 2015-06-19 | 1 | -2/+2 |
| | |||||
* | DRY file loading | Taylor Gerring | 2015-06-19 | 1 | -44/+12 |
| | |||||
* | More consistent test interfaces + test skipping | Taylor Gerring | 2015-06-19 | 1 | -11/+16 |
| | |||||
* | Return error up stack instead of passing testing var down | Taylor Gerring | 2015-06-19 | 1 | -10/+13 |
| | |||||
* | Separate and identify tests runners | Taylor Gerring | 2015-06-19 | 1 | -1/+2 |
| | |||||
* | Split tests from helper code | Taylor Gerring | 2015-06-19 | 1 | -0/+66 |
| | |||||
* | xeth, tests: fixed api | obscuren | 2015-06-17 | 1 | -1/+1 |
| | |||||
* | Update key store to new spec but keep address field for now | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | | | | * Also fix address types post-rebase | ||||
* | core: return the index of the block that failed when inserting a chain | obscuren | 2015-04-29 | 1 | -1/+1 |
| | |||||
* | Add loading of block test privkey if present | Gustav Simonsson | 2015-04-28 | 1 | -7/+20 |
| | |||||
* | Add block header validations for block tests | Gustav Simonsson | 2015-04-23 | 1 | -0/+82 |
| | |||||
* | Finally, glorious HEX | Gustav Simonsson | 2015-04-23 | 1 | -4/+4 |
| | |||||
* | Further fixes to block test wrapper | Gustav Simonsson | 2015-04-21 | 1 | -47/+56 |
| | | | | | | | | | | | | * Move go test wrapper for block tests from cmd/geth to tests * Fix logic for when tests are valid or not, by adding correct validations for expected valid/invalid blocks * Change block insertion helper to work on single blocks * Add one test case for each file in BlockTests and comment out the tests which are currently failing * Add Skip call in all block tests in lieu of performance fixes around ethash cache which are needed before it will be fast enough to start / stop the node between each test | ||||
* | Add block tests wrapper and fixes for tx tests | Gustav Simonsson | 2015-04-20 | 1 | -0/+345 |
* Add fixes to parsing and converting of fields in tx tests * Correct logic in tx tests; validation of fields and correct logic for when RLP decoding works/fails and when this is expected or not * Rename files for consistency * Add block tests wrapper to run block tests with go test |