aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/block.go
Commit message (Collapse)AuthorAgeFilesLines
* types: block json unmarshal method addedobscuren2015-06-041-0/+24
|
* core/types, eth: meassure and display propagation timesobscuren2015-04-301-0/+2
|
* core/types: added fake parent hash / hash to String() outputobscuren2015-04-291-1/+11
|
* Validate block header UncleHash against calculated hashGustav Simonsson2015-04-231-0/+4
|
* core: moved TD calculation from proc to chainobscuren2015-04-201-9/+7
|
* future queued block supportzelig2015-04-091-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 controlobscuren2015-04-061-3/+3
| | | | | | * miner control moved to `admin.miner` * miner option to set extra data * block extra now bytes
* check TxMsgzelig2015-04-011-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 BlocksMsgzelig2015-04-011-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 clientzelig2015-04-011-0/+20
| | | | | | - add validate method to types.Block - validate after Decode -> error - add tests for NewBlockMsg
* Copy fixobscuren2015-03-241-2/+9
|
* Added copy functionobscuren2015-03-241-0/+17
|
* removed legacy codeobscuren2015-03-241-2/+1
|
* core/types: use package rlp instead of common.DecodeFelix Lange2015-03-181-22/+77
|
* updated blockpoolobscuren2015-03-171-3/+3
|
* core/types: use common.{Hash,Address} in for transactionsFelix Lange2015-03-171-3/+2
|
* block conversionobscuren2015-03-171-30/+31
|
* new type + additional methodsobscuren2015-03-161-17/+17
|
* Moved ethutil => commonobscuren2015-03-161-5/+5
|
* mergeobscuren2015-03-151-2/+2
|\
| * core/types: make Block.{ParentHash,SeedHash,MixDigest} []byteFelix Lange2015-03-141-3/+3
| | | | | | | | There is no reason to keep them as ethutil.Bytes.
* | POW fixesobscuren2015-03-141-6/+1
|/
* Miner fixes and updates (including miner)obscuren2015-03-051-6/+8
|
* Fixed genesisobscuren2015-03-041-12/+23
|
* Changed nonce to a uint64obscuren2015-03-041-5/+5
|
* fixed pow stuffobscuren2015-03-041-1/+4
|
* Introducing ethashMatthew Wampler-Doty2015-03-031-1/+14
|
* Introducign MixDigest and SeedHashMatthew Wampler-Doty2015-02-281-2/+7
|
* Added GetBlock GetUncle with OOB guardobscuren2015-02-181-0/+12
|
* Fixed mining & limited hash powerobscuren2015-02-141-1/+2
|
* Update balance label when miningobscuren2015-02-141-0/+2
|
* WIP minerobscuren2015-02-041-11/+15
|
* Refactored ethutil.Config.Db outobscuren2015-01-071-11/+11
|
* Mergeobscuren2015-01-061-42/+35
|
* Refactored tx pool and added extra fields to blockobscuren2015-01-021-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 chainobscuren2014-12-301-0/+1
|
* Switched to new trieobscuren2014-12-241-2/+2
|
* Chain importerobscuren2014-12-231-15/+21
|
* Refactored block & Transactionobscuren2014-12-231-323/+167
| | | | * Includes new rlp decoder
* Locks, refactor, testsobscuren2014-12-181-1/+1
| | | | | | * Added additional chain tests * Added proper mutex' on chain * Removed ethereum dependencies
* Moved powobscuren2014-12-101-0/+3
|
* Renamed State => StateDBobscuren2014-12-041-2/+2
|
* Renamed `chain` => `core`obscuren2014-12-041-0/+413