Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: implemented new ropsten testnet | Jeffrey Wilcke | 2016-11-23 | 1 | -25/+13 |
| | |||||
* | cmd/geth, core, light, mobile: removed state account StartingNonce | Jeffrey Wilcke | 2016-11-23 | 1 | -2/+2 |
| | | | | All account's nonce start at 0. | ||||
* | core, core/state, trie: EIP158, reprice & skip empty account write | Jeffrey Wilcke | 2016-11-13 | 1 | -3/+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: improved chainDb using sequential keys | zsfelfoldi | 2016-06-07 | 1 | -3/+3 |
| | |||||
* | core, eth: added json tag field for proper unmarshalling | Jeffrey Wilcke | 2016-04-25 | 1 | -1/+1 |
| | | | | | | | | | According to our own instructions the genesis config attribute should be "config". The genesis definition in the go code, however, has a field called `ChainConfig`. This field now has a `json:"config"` struct tag so that the json is properly unmarshalled. This fixes #2482 | ||||
* | core: added basic chain configuration | Jeffrey Wilcke | 2016-04-01 | 1 | -9/+14 |
| | | | | | | | | | 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. | ||||
* | cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks | Péter Szilágyi | 2015-11-27 | 1 | -39/+75 |
| | |||||
* | core, eth, miner, xeth: clean up tx/receipt db accessors | Péter Szilágyi | 2015-11-19 | 1 | -1/+1 |
| | |||||
* | core, eth: receipt chain reconstruction | Péter Szilágyi | 2015-10-19 | 1 | -1/+1 |
| | |||||
* | core/state, core, miner: handle missing root error from state.New | Gustav Simonsson | 2015-10-16 | 1 | -3/+4 |
| | |||||
* | Merge pull request #1888 from obscuren/testnet | Jeffrey Wilcke | 2015-10-09 | 1 | -0/+21 |
|\ | | | | | cmd, core, eth: added official testnet | ||||
| * | cmd, core, eth: added official testnet | Jeffrey Wilcke | 2015-10-09 | 1 | -0/+21 |
| | | |||||
* | | Merge pull request #1850 from karalabe/genesis-block-receipts | Jeffrey Wilcke | 2015-10-07 | 1 | -0/+3 |
|\ \ | |/ |/| | core: fix #1848, block receipts db entry for the genesis too | ||||
| * | core: fix #1848, block receipts db entry for the genesis too | Péter Szilágyi | 2015-09-25 | 1 | -0/+3 |
| | | |||||
* | | core, core/state: batch-based state sync | Felix Lange | 2015-09-23 | 1 | -6/+10 |
|/ | |||||
* | core, core/types: readd transactions after chain re-org | Jeffrey Wilcke | 2015-09-22 | 1 | -5/+17 |
| | | | | | | | | | | | | | | Added a `Difference` method to `types.Transactions` which sets the receiver to the difference of a to b (NOTE: not a **and** b). Transaction pool subscribes to RemovedTransactionEvent adding back to those potential missing from the chain. When a chain re-org occurs remove any transactions that were removed from the canonical chain during the re-org as well as the receipts that were generated in the process. Closes #1746 | ||||
* | all: move common.Database to package ethdb | Felix Lange | 2015-09-15 | 1 | -4/+5 |
| | |||||
* | core: split out TD from database and all internals | Péter Szilágyi | 2015-09-11 | 1 | -10/+10 |
| | |||||
* | core, eth: split the db blocks into headers and bodies | Péter Szilágyi | 2015-09-11 | 1 | -1/+1 |
| | |||||
* | Add tests for uncle timestamps and refactor timestamp type | Gustav Simonsson | 2015-08-25 | 1 | -1/+1 |
| | |||||
* | core, eth, trie, xeth: merged state, chain, extra databases in one | Jeffrey Wilcke | 2015-08-08 | 1 | -9/+9 |
| | |||||
* | Merge pull request #1515 from fjl/license-fixes | Jeffrey Wilcke | 2015-07-28 | 1 | -1/+1 |
|\ | | | | | all: fix license headers one more time | ||||
| * | 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. | ||||
* | | core: genesis extra data field fix | Jeffrey Wilcke | 2015-07-26 | 1 | -1/+1 |
| | | |||||
* | | core: fixed genesis write out to write only canon number | Jeffrey Wilcke | 2015-07-26 | 1 | -1/+8 |
| | | |||||
* | | core: check genesis block before writeout | Jeffrey Wilcke | 2015-07-25 | 1 | -0/+4 |
|/ | |||||
* | 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 | -38/+96 |
| | | | | | Implemented the --genesis flag thru which we can set a custom genesis block, including the official Ethereum genesis block. | ||||
* | all: update license information | Felix Lange | 2015-07-07 | 1 | -0/+16 |
| | |||||
* | 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. | ||||
* | core: add GenerateChain, GenesisBlockForTesting | Felix Lange | 2015-06-30 | 1 | -0/+18 |
| | |||||
* | core/types: make blocks immutable | Felix Lange | 2015-06-30 | 1 | -26/+11 |
| | |||||
* | core: settable genesis nonce | obscuren | 2015-06-09 | 1 | -2/+2 |
| | | | | | | | You can set the nonce of the block with `--genesisnonce`. When the genesis nonce changes and it doesn't match with the first block in your database it will fail. A new `datadir` must be given if the nonce of the genesis block changes. | ||||
* | types: block json unmarshal method added | obscuren | 2015-06-04 | 1 | -2/+2 |
| | |||||
* | Merge branch 'frontier/natspec' of ↵ | obscuren | 2015-04-21 | 1 | -2/+2 |
|\ | | | | | | | https://github.com/ethersphere/go-ethereum into ethersphere-frontier/natspec | ||||
| * | test account is no longer permanently in genesis block, only put there when ↵ | zsfelfoldi | 2015-04-20 | 1 | -8/+2 |
| | | | | | | | | testing | ||||
| * | NatSpec contracts are now not in the genesis block but added by the test | zsfelfoldi | 2015-04-20 | 1 | -1/+0 |
| | | |||||
| * | NatSpec passing end to end test | zsfelfoldi | 2015-04-20 | 1 | -3/+2 |
| | | |||||
| * | NatSpec contracts in genesis block, end to end test (unfinished) | zsfelfoldi | 2015-04-20 | 1 | -0/+8 |
| | | |||||
* | | core: moved TD calculation from proc to chain | obscuren | 2015-04-20 | 1 | -0/+1 |
|/ | |||||
* | Block header changed & console miner control | obscuren | 2015-04-06 | 1 | -1/+1 |
| | | | | | | * miner control moved to `admin.miner` * miner option to set extra data * block extra now bytes | ||||
* | Read most protocol params from common/params.json | Gustav Simonsson | 2015-04-02 | 1 | -5/+3 |
| | | | | | | | | | * Add params package with exported variables generated from github.com/ethereum/common/blob/master/params.json * Use params package variables in applicable places * Add check for minimum gas limit in validation of block's gas limit * Remove common/params.json from go-ethereum to avoid outdated version of it | ||||
* | Blocktest fixed, Execution fixed | obscuren | 2015-04-01 | 1 | -1/+1 |
| | | | | | | * Added new CreateAccount method which properly overwrites previous accounts (excluding balance) * Fixed block tests (100% success) | ||||
* | Added Code field | obscuren | 2015-03-31 | 1 | -2/+6 |
| | |||||
* | moved state and vm to core | obscuren | 2015-03-23 | 1 | -1/+1 |
| | |||||
* | core: fix tests | Felix Lange | 2015-03-18 | 1 | -4/+0 |
| | |||||
* | converted vm | obscuren | 2015-03-17 | 1 | -4/+3 |
| | |||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 1 | -9/+9 |
| | |||||
* | POW fixes | obscuren | 2015-03-14 | 1 | -1/+0 |
| | |||||
* | Increased genesis gas & gas floor limit to 3141592 | obscuren | 2015-03-13 | 1 | -1/+2 |
| | |||||
* | Miner fixes and updates (including miner) | obscuren | 2015-03-05 | 1 | -2/+3 |
| | |||||
* | Fixed genesis | obscuren | 2015-03-04 | 1 | -7/+7 |
| | |||||
* | updated genesis | obscuren | 2015-03-04 | 1 | -0/+4 |
| | |||||
* | Changed nonce to a uint64 | obscuren | 2015-03-04 | 1 | -1/+1 |
| | |||||
* | Removed some methods from the JS REPL | obscuren | 2015-03-01 | 1 | -2/+0 |
| | |||||
* | Minor updates for release | obscuren | 2015-02-21 | 1 | -13/+31 |
| | |||||
* | Docs & old code removed | obscuren | 2015-02-03 | 1 | -1/+0 |
| | |||||
* | moving to a better xeth | obscuren | 2015-01-29 | 1 | -1/+1 |
| | |||||
* | Minor fixed and additions for block proc | obscuren | 2015-01-08 | 1 | -0/+1 |
| | | | | | | * Path check length * Genesis include TD * Output TD on last block | ||||
* | Refactored ethutil.Config.Db out | obscuren | 2015-01-07 | 1 | -2/+3 |
| | |||||
* | Switched to new trie | obscuren | 2014-12-24 | 1 | -1/+1 |
| | |||||
* | Refactored block & Transaction | obscuren | 2014-12-23 | 1 | -32/+33 |
| | | | | * Includes new rlp decoder | ||||
* | Renamed `chain` => `core` | obscuren | 2014-12-04 | 1 | -0/+52 |