Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core/types: use Header.Hash for block hashes (#14587) | bailantaotao | 2017-06-07 | 1 | -1/+1 |
| | | | Fixes #14586 | ||||
* | core, core/types: regenerate JSON marshaling, add "hash" to headers (#13868) | Felix Lange | 2017-04-06 | 1 | -15/+16 |
| | | | | | | | | | | * Makefile: fix devtools target * core: regenerate genesis marshaling with fjl/gencodec@cbfa5be5a8a8 * core/types: regenerate marshaling methods with fjl/gencodec@cbfa5be5a8a8 * core/types: add "hash" to JSON headers | ||||
* | core, consensus: pluggable consensus engines (#3817) | Péter Szilágyi | 2017-04-05 | 1 | -6/+5 |
| | | | | | This commit adds pluggable consensus engines to go-ethereum. In short, it introduces a generic consensus interface, and refactors the entire codebase to use this interface. | ||||
* | core/types: use gencodec for JSON marshaling code | Felix Lange | 2017-03-07 | 1 | -100/+27 |
| | |||||
* | common/hexutil: implement TextMarshaler, TextUnmarshaler | Felix Lange | 2017-03-02 | 1 | -6/+6 |
| | | | | | | | | | | | | | This commit makes the wrapper types more generally applicable. encoding.TextMarshaler is supported by most codec implementations (e.g. for yaml). The tests now ensure that package json actually recognizes the custom marshaler implementation irrespective of how it is implemented. The Uint type has new tests, too. These are tricky because uint size depends on the CPU word size. Turns out that there was one incorrect case where decoding returned ErrUint64Range instead of ErrUintRange. | ||||
* | eth: accept leading zeros for nonce parameter of submitWork (#3558) | Felix Lange | 2017-01-13 | 1 | -2/+2 |
| | |||||
* | core/types: use package hexutil for JSON handling | Felix Lange | 2016-11-28 | 1 | -22/+15 |
| | |||||
* | mobile: initial wrappers for mobile support | Péter Szilágyi | 2016-11-14 | 1 | -2/+2 |
| | |||||
* | core/types: renamed receiptRoot to receiptsRoot | Bas van Kervel | 2016-10-05 | 1 | -1/+1 |
| | |||||
* | core/types, core/vm: improve docs, add JSON marshaling methods | Felix Lange | 2016-08-04 | 1 | -64/+110 |
| | | | | | | | | In this commit, core/types's types learn how to encode and decode themselves as JSON. The encoding is very similar to what the RPC API uses. The RPC API is missing some output fields (e.g. transaction signature values) which will be added to the API in a later commit. Some fields that the API generates are ignored by the decoder methods here. | ||||
* | rpc: refactor subscriptions and filters | Bas van Kervel | 2016-08-17 | 1 | -0/+22 |
| | |||||
* | eth: enable bad block reports | Felix Lange | 2016-05-25 | 1 | -2/+4 |
| | | | | | | | | | | | | We used to have reporting of bad blocks, but it was disabled before the Frontier release. We need it back because users are usually unable to provide the full RLP data of a bad block when it occurs. A shortcoming of this particular implementation is that the origin peer is not tracked for blocks received during eth/63 sync. No origin peer info is still better than no report at all though. | ||||
* | core, core/types, eth: add and use Block.Body | Felix Lange | 2016-04-15 | 1 | -0/+3 |
| | | | | | This fixes a few uses of unkeyed Body literals which go vet was complaining about. | ||||
* | core: various typos | Leif Jurvetson | 2016-03-16 | 1 | -1/+1 |
| | |||||
* | rpc: new RPC implementation with pub/sub support | Bas van Kervel | 2015-12-14 | 1 | -0/+4 |
| | |||||
* | core, eth: receipt chain reconstruction | Péter Szilágyi | 2015-10-19 | 1 | -5/+0 |
| | |||||
* | eth/downloader: add fast and light sync strategies | Péter Szilágyi | 2015-10-19 | 1 | -5/+5 |
| | |||||
* | core: support inserting pure header chains | Péter Szilágyi | 2015-10-19 | 1 | -7/+9 |
| | |||||
* | core: split out TD from database and all internals | Péter Szilágyi | 2015-09-11 | 1 | -16/+19 |
| | |||||
* | core, eth: split the db blocks into headers and bodies | Péter Szilágyi | 2015-09-11 | 1 | -0/+4 |
| | |||||
* | Merge pull request #1701 from karalabe/eth62-sync-rebase | Felix Lange | 2015-08-27 | 1 | -0/+14 |
|\ | | | | | eth: implement eth/62 synchronization logic | ||||
| * | eth: port the synchronisation algo to eth/62 | Péter Szilágyi | 2015-08-25 | 1 | -0/+14 |
| | | |||||
* | | Add tests for uncle timestamps and refactor timestamp type | Gustav Simonsson | 2015-08-25 | 1 | -3/+6 |
|/ | |||||
* | 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. | ||||
* | | Merge pull request #1510 from fjl/license-fixes | Jeffrey Wilcke | 2015-07-23 | 1 | -4/+4 |
|\| | | | | | all: license fixes | ||||
| * | 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". | ||||
* | | core: fix an RLP encoding data race due to deep struct copy | Péter Szilágyi | 2015-07-23 | 1 | -2/+2 |
|/ | |||||
* | all: add some godoc synopsis comments | Felix Lange | 2015-07-07 | 1 | -0/+1 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 1 | -0/+16 |
| | |||||
* | Use uint64 for block header timestamp | Gustav Simonsson | 2015-06-30 | 1 | -1/+1 |
| | |||||
* | core/types: cache computed block values | Felix Lange | 2015-06-30 | 1 | -3/+22 |
| | |||||
* | core/types: make blocks immutable | Felix Lange | 2015-06-30 | 1 | -237/+184 |
| | |||||
* | types: block json unmarshal method added | obscuren | 2015-06-04 | 1 | -0/+24 |
| | |||||
* | core/types, eth: meassure and display propagation times | obscuren | 2015-04-30 | 1 | -0/+2 |
| | |||||
* | core/types: added fake parent hash / hash to String() output | obscuren | 2015-04-29 | 1 | -1/+11 |
| | |||||
* | Validate block header UncleHash against calculated hash | Gustav Simonsson | 2015-04-23 | 1 | -0/+4 |
| | |||||
* | core: moved TD calculation from proc to chain | obscuren | 2015-04-20 | 1 | -9/+7 |
| | |||||
* | future queued block support | zelig | 2015-04-09 | 1 | -0/+4 |
| | | | | | | | - queued bool // flag for blockpool to skip TD check - set to true when future block queued - in checkTD: skip check if queued - TODO: add test (insertchain sets future block) | ||||
* | Block header changed & console miner control | obscuren | 2015-04-06 | 1 | -3/+3 |
| | | | | | | * miner control moved to `admin.miner` * miner option to set extra data * block extra now bytes | ||||
* | check TxMsg | zelig | 2015-04-01 | 1 | -3/+3 |
| | | | | | | - add validation on TxMsg checking for nil - add test for nil transaction - add test for zero value transaction (no extra validation needed) | ||||
* | test for invalid rlp encoding of block in BlocksMsg | zelig | 2015-04-01 | 1 | -15/+12 |
| | | | | | | | - rename Validate -> ValidateFields not to confure consensus block validation - add nil transaction and nil uncle header validation - remove bigint field checks: rlp already decodes *big.Int to big.NewInt(0) - add test for nil header, nil transaction | ||||
* | eth: SEC-29 eth wire protocol decoding invalid message data crashes client | zelig | 2015-04-01 | 1 | -0/+20 |
| | | | | | | - add validate method to types.Block - validate after Decode -> error - add tests for NewBlockMsg | ||||
* | Copy fix | obscuren | 2015-03-24 | 1 | -2/+9 |
| | |||||
* | Added copy function | obscuren | 2015-03-24 | 1 | -0/+17 |
| | |||||
* | removed legacy code | obscuren | 2015-03-24 | 1 | -2/+1 |
| | |||||
* | core/types: use package rlp instead of common.Decode | Felix Lange | 2015-03-18 | 1 | -22/+77 |
| | |||||
* | updated blockpool | obscuren | 2015-03-17 | 1 | -3/+3 |
| | |||||
* | core/types: use common.{Hash,Address} in for transactions | Felix Lange | 2015-03-17 | 1 | -3/+2 |
| | |||||
* | block conversion | obscuren | 2015-03-17 | 1 | -30/+31 |
| | |||||
* | new type + additional methods | obscuren | 2015-03-16 | 1 | -17/+17 |
| | |||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 1 | -5/+5 |
| | |||||
* | merge | obscuren | 2015-03-15 | 1 | -2/+2 |
|\ | |||||
| * | core/types: make Block.{ParentHash,SeedHash,MixDigest} []byte | Felix Lange | 2015-03-14 | 1 | -3/+3 |
| | | | | | | | | There is no reason to keep them as ethutil.Bytes. | ||||
* | | POW fixes | obscuren | 2015-03-14 | 1 | -6/+1 |
|/ | |||||
* | Miner fixes and updates (including miner) | obscuren | 2015-03-05 | 1 | -6/+8 |
| | |||||
* | Fixed genesis | obscuren | 2015-03-04 | 1 | -12/+23 |
| | |||||
* | Changed nonce to a uint64 | obscuren | 2015-03-04 | 1 | -5/+5 |
| | |||||
* | fixed pow stuff | obscuren | 2015-03-04 | 1 | -1/+4 |
| | |||||
* | Introducing ethash | Matthew Wampler-Doty | 2015-03-03 | 1 | -1/+14 |
| | |||||
* | Introducign MixDigest and SeedHash | Matthew Wampler-Doty | 2015-02-28 | 1 | -2/+7 |
| | |||||
* | Added GetBlock GetUncle with OOB guard | obscuren | 2015-02-18 | 1 | -0/+12 |
| | |||||
* | Fixed mining & limited hash power | obscuren | 2015-02-14 | 1 | -1/+2 |
| | |||||
* | Update balance label when mining | obscuren | 2015-02-14 | 1 | -0/+2 |
| | |||||
* | WIP miner | obscuren | 2015-02-04 | 1 | -11/+15 |
| | |||||
* | Refactored ethutil.Config.Db out | obscuren | 2015-01-07 | 1 | -11/+11 |
| | |||||
* | Merge | obscuren | 2015-01-06 | 1 | -42/+35 |
| | |||||
* | Refactored tx pool and added extra fields to block | obscuren | 2015-01-02 | 1 | -2/+2 |
| | | | | | | * chain manager sets td on block + td output w/ String * added tx pool tests for removing/adding/validating * tx pool now uses a set for txs instead of list.List | ||||
* | Fixed chain test & added new chain | obscuren | 2014-12-30 | 1 | -0/+1 |
| | |||||
* | Switched to new trie | obscuren | 2014-12-24 | 1 | -2/+2 |
| | |||||
* | Chain importer | obscuren | 2014-12-23 | 1 | -15/+21 |
| | |||||
* | Refactored block & Transaction | obscuren | 2014-12-23 | 1 | -323/+167 |
| | | | | * Includes new rlp decoder | ||||
* | Locks, refactor, tests | obscuren | 2014-12-18 | 1 | -1/+1 |
| | | | | | | * Added additional chain tests * Added proper mutex' on chain * Removed ethereum dependencies | ||||
* | Moved pow | obscuren | 2014-12-10 | 1 | -0/+3 |
| | |||||
* | Renamed State => StateDB | obscuren | 2014-12-04 | 1 | -2/+2 |
| | |||||
* | Renamed `chain` => `core` | obscuren | 2014-12-04 | 1 | -0/+413 |