aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Expand)AuthorAgeFilesLines
* core: fix a lock annoyance and potential deadlockPéter Szilágyi2015-06-101-4/+9
* core, eth: document that result of GetTransactions is modifiableFelix Lange2015-06-091-0/+1
* core/types: add Transaction.SizeFelix Lange2015-06-091-0/+7
* Merge pull request #1219 from Gustav-Simonsson/precompiled_ec_recover_paddingJeffrey Wilcke2015-06-091-8/+12
|\
| * Remove unneeded if check on EC recover paddingGustav Simonsson2015-06-091-3/+1
| * Pad precompiled EC recover input and add validationsGustav Simonsson2015-06-091-8/+14
* | Merge pull request #1216 from karalabe/fix-eth-dataracesJeffrey Wilcke2015-06-091-9/+8
|\ \ | |/ |/|
| * core: fix up a deadlock caused by double lockingPéter Szilágyi2015-06-091-8/+5
| * core: fix data race accessing ChainManager.currentBlockPéter Szilágyi2015-06-091-1/+4
| * core: fix data race in accessing ChainManager.tdPéter Szilágyi2015-06-091-9/+8
* | core: skip genesis block for reprocess. Closes #1202obscuren2015-06-091-5/+10
|/
* core: write accounts to statedb. Closes #1210obscuren2015-06-091-6/+7
* Merge pull request #1193 from tgerring/hotbackupJeffrey Wilcke2015-06-091-3/+14
|\
| * Export should start with block 0Taylor Gerring2015-06-061-1/+1
| * CleanupTaylor Gerring2015-06-061-2/+1
| * Allow exporting subset of chainTaylor Gerring2015-06-061-2/+14
* | core: added a test for missing noncesobscuren2015-06-092-1/+24
* | core: settable genesis nonceobscuren2015-06-095-26/+62
* | core: add bad block for the 'missing nonce check' forkFelix Lange2015-06-081-0/+1
* | core: fix the nonce check one more timeFelix Lange2015-06-083-3/+73
|/
* wipobscuren2015-06-051-2/+10
* core: added fork test & double nonce testobscuren2015-06-052-20/+75
* crypto: return common.Address rather than raw bytesobscuren2015-06-051-3/+3
* core: documented changes in tx poolobscuren2015-06-041-3/+30
* core: only change the nonce if the account nonce is lowerobscuren2015-06-041-1/+3
* core: renamed txs to pendingobscuren2015-06-042-24/+24
* core: test updatesobscuren2015-06-042-2/+1
* core, eth, miner: moved nonce management to tx pool.obscuren2015-06-043-67/+62
* core: don't remove transactions after block processingFelix Lange2015-06-044-11/+5
* core: update documentation comments for TxPoolFelix Lange2015-06-041-22/+25
* core: remove unused code from TxPoolFelix Lange2015-06-041-41/+13
* core: compute less transaction hashes in TxPoolFelix Lange2015-06-042-82/+82
* wipobscuren2015-06-042-8/+3
* types: block json unmarshal method addedobscuren2015-06-042-2/+26
* core/vm: cleanup and renamesobscuren2015-06-045-52/+0
* Merge pull request #1167 from Gustav-Simonsson/check_ec_recover_errJeffrey Wilcke2015-06-042-16/+21
|\
| * Add missing err checks on From() (skip RPC for now)Gustav Simonsson2015-06-022-16/+21
* | Merge pull request #1151 from fjl/parallel-nonce-2Jeffrey Wilcke2015-06-041-67/+49
|\ \
| * | core: insert less length zero chainsFelix Lange2015-06-011-4/+5
| * | core: re-add parallel nonce checksFelix Lange2015-06-011-63/+44
| |/
* | Merge pull request #1150 from fjl/fix-jumpdestJeffrey Wilcke2015-06-043-30/+49
|\ \
| * | core/vm: check for 'no code' before doing any workFelix Lange2015-06-031-5/+5
| * | core/vm: improve JUMPDEST analysisFelix Lange2015-06-033-25/+44
* | | Merge pull request #1166 from Gustav-Simonsson/add_ec_sig_validationsJeffrey Wilcke2015-06-032-22/+15
|\ \ \
| * | | Add EC signature validations before call to libsecp256k1Gustav Simonsson2015-06-022-22/+15
| | |/ | |/|
* / | Unsupport brunclesGustav Simonsson2015-06-021-2/+2
|/ /
* | Merge pull request #1155 from karalabe/fix-chainmanager-dataraceFelix Lange2015-05-301-2/+2
|\ \ | |/ |/|
| * core: fix #1154, sort out data race accessing the future blocksPéter Szilágyi2015-05-301-2/+2
* | core: moved guardsobscuren2015-05-291-9/+8
* | Merge pull request #1141 from obscuren/parallelisation-issueJeffrey Wilcke2015-05-282-25/+58
|\ \
| * | core: added bad blockobscuren2015-05-281-0/+1
| * | core: log block hash during nonce errorobscuren2015-05-281-2/+2
| * | core: partially removed nonce parallelisation and added merge error chkobscuren2015-05-281-24/+56
| |/
* | Merge pull request #1132 from obscuren/log_optimisationsJeffrey Wilcke2015-05-284-32/+123
|\ \ | |/ |/|
| * core: fixed an issue with storing receiptsobscuren2015-05-284-32/+123
* | core, eth/downloader: expose the bad hashes, check in downloaderPéter Szilágyi2015-05-283-10/+5
|/
* core: adjust gas calculationobscuren2015-05-271-0/+1
* Merge pull request #1121 from obscuren/miner_time_fixJeffrey Wilcke2015-05-271-2/+1
|\
| * core, miner: fixed miner time issue and removed future blocksobscuren2015-05-271-2/+1
* | Update ValidateHeader commentsGustav Simonsson2015-05-271-4/+2
|/
* Revert "core: block.gasLimit - parent.gasLimit <= parent.gasLimit / GasLimitB...Gustav Simonsson2015-05-271-1/+1
* core: block.gasLimit - parent.gasLimit <= parent.gasLimit / GasLimitBoundDivisorobscuren2015-05-271-1/+1
* cmd/geth, core: Updated DB version & seedhash debug methodobscuren2015-05-271-1/+4
* core: check negative value transactions. Closes #1109obscuren2015-05-273-1/+20
* core: prevent crash when last block failsobscuren2015-05-261-6/+16
* core: ban hash 38f5bb...a714bcobscuren2015-05-261-0/+1
* core/vm: Fork fix. Removal of appending 0 bytes in memsetobscuren2015-05-261-6/+2
* Merge pull request #1101 from obscuren/issue-1096Jeffrey Wilcke2015-05-261-15/+3
|\
| * core/vm: Cleanups & SUB output fix. Closes #1096obscuren2015-05-261-15/+3
* | core/vm, rpc: added disasm to `ext_` RPCobscuren2015-05-221-0/+21
|/
* Merge pull request #1062 from Gustav-Simonsson/tests_updatesJeffrey Wilcke2015-05-211-0/+6
|\
| * Handle call depth exception for CREATEGustav Simonsson2015-05-181-0/+6
* | core: switched back to `set.Set` for uncle verificationobscuren2015-05-211-24/+14
|/
* Merge pull request #1043 from obscuren/test_fixesJeffrey Wilcke2015-05-202-1/+13
|\
| * core/vm: RETURN op code returns pointer to memory rather than copyobscuren2015-05-202-1/+13
* | Storing tx receipts in extraDbzsfelfoldi2015-05-201-0/+16
* | core: block cache Has method thread safeobscuren2015-05-201-0/+3
|/
* core: skipped tests while cache disabledobscuren2015-05-201-0/+2
* core: disable cash tmpobscuren2015-05-191-3/+5
* Merge pull request #1022 from obscuren/parallel_nonce_checksJeffrey Wilcke2015-05-195-21/+107
|\
| * core: fixed testsobscuren2015-05-193-8/+15
| * core: chain manager no longer exports genesis blockobscuren2015-05-191-2/+2
| * core: parallelise nonce checking when processing blocksobscuren2015-05-182-12/+91
* | core: bugfix test 2. set => hash mapobscuren2015-05-181-14/+23
* | retobscuren2015-05-181-0/+1
* | core: tmp diagnostic logsobscuren2015-05-181-0/+7
|/
* core: global chain insert lockobscuren2015-05-171-44/+43
* core: further improved uncle error messagesobscuren2015-05-161-8/+8
* core, cmd/geth, cmd/mist: cleanup. bump version 0.9.21obscuren2015-05-161-2/+0
* core, miner: fork resolving and restart miner after sync opobscuren2015-05-161-7/+15
* Update StateTests and nil create return on failed code depositGustav Simonsson2015-05-161-0/+1
* eth/downloader: fixed testobscuren2015-05-151-1/+1
* core: fixed mining strategyobscuren2015-05-152-10/+16
* eth, eth/downloader, miner: use download events to check miner startobscuren2015-05-152-2/+5
* core: changed how head events are checkedobscuren2015-05-152-2/+4
* core: improved uncle messagesobscuren2015-05-151-3/+3
* core: changed log message for forks. closes #952obscuren2015-05-141-11/+13
* Fixed max uncle count error messageVitalik Buterin2015-05-141-1/+1
* removed redundant newlines in import blockBas van Kervel2015-05-121-2/+1
* replaced several path.* with filepath.* which is platform independentBas van Kervel2015-05-121-2/+3
* core: optimise pending transaction processingobscuren2015-05-111-1/+1
* core, eth, miner: improved tx removal & fatal error on db sync errobscuren2015-05-112-1/+7
* Merge pull request #833 from ethersphere/frontier/solidityJeffrey Wilcke2015-05-082-3/+5
|\
| * solidity compiler and contract metadocs integrationzelig2015-05-072-3/+5
* | core: get transaction by hash from transaction poolobscuren2015-05-081-0/+21
* | xeth, core, event/filter, rpc: new block and transaction filtersobscuren2015-05-071-3/+3
|/
* Add genesis block total difficulty in testsGustav Simonsson2015-05-071-0/+1
* Merge pull request #861 from obscuren/transaction_pool_fixesJeffrey Wilcke2015-05-071-1/+1
|\
| * core: use removeTx instead of deleteobscuren2015-05-071-1/+1
* | Integrate new ethash API and change geth makedag cmdGustav Simonsson2015-05-051-2/+2
|/
* core: added unix timestamp to debug output for block procobscuren2015-05-041-1/+1
* core: print ignored blocksobscuren2015-05-031-1/+1
* eth,core: changed NewTicker to Tickobscuren2015-05-031-2/+2
* core: added 'ignored' statusobscuren2015-05-011-2/+3
* core: added a wait group to chain manager for graceful shutdownobscuren2015-04-301-0/+8
* core: check for parent in calc TD. TD = (N != 0 == parent.TD) || (== D)obscuren2015-04-301-0/+4
* core, eth: verify td of received blocksobscuren2015-04-301-2/+4
* core: remove txs from queue in addition to removal of pendingobscuren2015-04-302-1/+49
* core: added some additional chain tests for shortest chainobscuren2015-04-302-5/+30
* core/types, eth: meassure and display propagation timesobscuren2015-04-301-0/+2
* core: fixed tetst to reflect (int, error) return by insertChainobscuren2015-04-291-2/+2
* core: return the index of the block that failed when inserting a chainobscuren2015-04-292-4/+6
* core: fixed chain reorg during splitsobscuren2015-04-292-27/+83
* core/types: added fake parent hash / hash to String() outputobscuren2015-04-291-1/+11
* core: seperated proccing mutex and getting mutexobscuren2015-04-292-42/+48
* core: bump database versionobscuren2015-04-291-1/+1
* core: moved mutex locks in insert blocks to start of functionobscuren2015-04-291-41/+40
* core: set min gas price at startupobscuren2015-04-291-10/+10
* core, miner: added value check on tx validationobscuren2015-04-264-20/+17
* Merge pull request #805 from obscuren/download_improvementsJeffrey Wilcke2015-04-255-16/+31
|\
| * xeth, core, cmd/utils: Transaction can not be over block gas limitobscuren2015-04-245-16/+31
* | core: fixed wildcard topic filters. Closes #725obscuren2015-04-241-5/+14
|/
* Moved leveldb update loop to eth/backendBas van Kervel2015-04-231-5/+5
* core: pending txs now re-validated once every secondobscuren2015-04-231-3/+27
* core: added accessor for queued transactionsobscuren2015-04-231-0/+12
* eth: moved mined, tx events to protocol-hnd and improved tx propagationobscuren2015-04-231-2/+4
* core: fixed testobscuren2015-04-231-1/+3
* core: set the state for the managed tx stateobscuren2015-04-231-1/+1
* core: improved error message for invalid nonce txsobscuren2015-04-231-1/+1
* core: only post event once per tx & fixed testobscuren2015-04-232-15/+21
* core: implemented a queued approach processing transactionsobscuren2015-04-233-25/+123
* Validate block header UncleHash against calculated hashGustav Simonsson2015-04-232-2/+13
* core/rpc: fix for null entries in log filters. Closes #725obscuren2015-04-211-1/+2
* core: removed nonce resetting from the block processor.obscuren2015-04-213-4/+7
* core: shuffled some codeobscuren2015-04-211-7/+13
* core: upgraded block chain versionobscuren2015-04-211-1/+1
* Merge branch 'frontier/natspec' of https://github.com/ethersphere/go-ethereum...obscuren2015-04-211-2/+2
|\
| * test account is no longer permanently in genesis block, only put there when t...zsfelfoldi2015-04-201-8/+2
| * NatSpec contracts are now not in the genesis block but added by the testzsfelfoldi2015-04-202-45/+0
| * NatSpec passing end to end testzsfelfoldi2015-04-202-19/+28
| * szsfelfoldi2015-04-201-1/+2
| * NatSpec contracts in genesis block, end to end test (unfinished)zsfelfoldi2015-04-202-0/+41
* | core: force block process & fixed chain manager testobscuren2015-04-203-4/+24
* | core: added chain reset mechanism on bad blocksobscuren2015-04-202-12/+30
* | core: added chain head reset to known blockobscuren2015-04-201-0/+24
* | core: moved TD calculation from proc to chainobscuren2015-04-206-24/+24
|/
* Merge branch 'rlp-size-validation' of https://github.com/fjl/go-ethereum into...obscuren2015-04-191-1/+1
|\
| * core/types: add rlp tag "nil" for Transaction.RecipientFelix Lange2015-04-171-1/+1
* | cleanupobscuren2015-04-191-3/+2
* | Merge branch 'develop' into downloader-protoobscuren2015-04-191-1/+7
|\ \
| * | core: merge using equal block numbers rather than the current blockobscuren2015-04-191-1/+7
| |/
* / core: improved uncle validation error messageobscuren2015-04-181-3/+2
|/
* core: changed split detection to also account for number less thanobscuren2015-04-161-1/+2
* core: fixed issue for logs filter. Closes #629obscuren2015-04-151-1/+1
* core/types: Changed bloom lookup to take anything bytes backedobscuren2015-04-151-2/+6
* state: fixed mutex lockesobscuren2015-04-141-2/+14
* core: during split properly insert parent blocksobscuren2015-04-141-1/+32
* state: fixed nonce issue in managed stateobscuren2015-04-141-2/+2
* Merge pull request #702 from ethersphere/frontier/blockpoolJeffrey Wilcke2015-04-131-0/+1
|\
| * blockpool stability fixes:zelig2015-04-131-0/+1
* | Merge pull request #700 from bas-vk/issue_650Jeffrey Wilcke2015-04-132-2/+11
|\ \ | |/ |/|
| * Added blockchain DB versioning support, closes #650Bas van Kervel2015-04-132-2/+11
* | Set input to nil for createobscuren2015-04-111-1/+4
|/
* Merge branch 'frontier/blockpool' of https://github.com/ethersphere/go-ethere...obscuren2015-04-092-0/+5
|\
| * future queued block supportzelig2015-04-092-0/+5
* | Added default registrarobscuren2015-04-091-9/+1
|/
* Moved handling of nonces to the managed stateobscuren2015-04-092-5/+8
* Default log to stderrobscuren2015-04-091-1/+0
* Improved transaction poolobscuren2015-04-096-141/+103
* ignore invalid txs right after being added if they prove incorrectobscuren2015-04-091-0/+1
* Changed how logs are being recordedobscuren2015-04-089-113/+68
* Sync managed accounts to the networkobscuren2015-04-081-3/+2
* Added additional methods to the managed stateobscuren2015-04-082-2/+44
* Improved tx pool to ignore invalid transactionsobscuren2015-04-081-8/+29
* Merge pull request #648 from Gustav-Simonsson/forward_ecrecover_err_and_remov...Jeffrey Wilcke2015-04-082-3/+13
|\
| * Use logger.Error instead of 0 with glogGustav Simonsson2015-04-072-2/+4
| * Forward and log EC recover err and remove dup pubkey len checkGustav Simonsson2015-04-072-3/+11
* | Updated loggingobscuren2015-04-071-5/+5
* | Fixed testsobscuren2015-04-071-1/+1
|/
* Block header changed & console miner controlobscuren2015-04-064-6/+6
* time lapseobscuren2015-04-051-1/+3
* Updated loggingobscuren2015-04-051-8/+18
* Changed R S to big int and fixed testsobscuren2015-04-054-8/+28
* Changed R & S to *big.Intobscuren2015-04-051-6/+6
* Added thread safe eachobscuren2015-04-052-4/+15
* Removed debuggingobscuren2015-04-051-7/+0
* prevent deadlockobscuren2015-04-052-17/+10
* Improved chain manager, improved block processor, fixed testsobscuren2015-04-044-7/+44
* Added block cache delete methodobscuren2015-04-042-0/+29
* Changed log to new loggingobscuren2015-04-042-9/+15
* Moved logging to logger.Coreobscuren2015-04-044-11/+10
* check for nil block (tmp).obscuren2015-04-041-0/+3
* basic glogobscuren2015-04-046-37/+37
* Merge branch 'develop' into glogobscuren2015-04-032-2/+3
|\
| * do not include BlockEqualTS as valid unclesobscuren2015-04-032-2/+3
* | glog wipobscuren2015-04-031-1/+4
|/
* bool => intobscuren2015-04-031-63/+63
* fixed stack levelobscuren2015-04-031-3/+4
* Removed old (unused) argumentobscuren2015-04-024-6/+6
* Merge pull request #623 from Gustav-Simonsson/read_protocol_values_from_commo...Jeffrey Wilcke2015-04-0212-105/+67
|\
| * Read most protocol params from common/params.jsonGustav Simonsson2015-04-0212-105/+67
* | Fixed uncle rewards in minerobscuren2015-04-021-17/+23
|/
* sha3 stack checkobscuren2015-04-011-1/+1
* Check stack for BALANCE. Closes #622obscuren2015-04-011-1/+1
* check TxMsgzelig2015-04-011-3/+3
* test for invalid rlp encoding of block in BlocksMsgzelig2015-04-011-15/+12
* eth: SEC-29 eth wire protocol decoding invalid message data crashes clientzelig2015-04-011-0/+20
* Merge branch 'hexify' of https://github.com/tgerring/go-ethereum into tgerrin...obscuren2015-04-011-3/+19
|\
| * txMeta storage as structTaylor Gerring2015-04-011-17/+11
| * Store and retrieve tx context metadata #608Taylor Gerring2015-04-011-3/+25
* | fixed testsobscuren2015-04-011-1/+1
* | Blocktest fixed, Execution fixedobscuren2015-04-016-35/+70
|/
* Added Code fieldobscuren2015-03-311-2/+6
* Correct gas limit validation according to new algorithmGustav Simonsson2015-03-301-1/+4
* Cleanup.obscuren2015-03-291-10/+13
* Merge branch 'fix_ecrecover' of https://github.com/ebuchman/go-ethereum into ...obscuren2015-03-291-7/+21
|\
* \ Merge pull request #579 from tgerring/rpcargsJeffrey Wilcke2015-03-291-23/+0
|\ \
| * | Decouple core from rpcTaylor Gerring2015-03-271-23/+0
* | | Cleanup VM.obscuren2015-03-294-56/+45
* | | Cleanup VMobscuren2015-03-295-29/+40
* | | PUSH gas fixobscuren2015-03-272-21/+5
* | | Removed commentsobscuren2015-03-271-15/+0
* | | Removed defer/panic. #503obscuren2015-03-274-120/+180
* | | Explicitly check memory's data store. #515obscuren2015-03-271-1/+8
|/ /
* | Stack limitobscuren2015-03-271-0/+6
* | Fixed filter and refactored codeobscuren2015-03-261-1/+1
* | added tx tests and fixed block testsobscuren2015-03-264-4/+59
* | fixed testsobscuren2015-03-241-1/+1
* | Cleaned up changesobscuren2015-03-244-11/+7
* | Modified according to poc 9 changesobscuren2015-03-243-6/+8
* | Secure trie shakey / key matchingobscuren2015-03-241-4/+4
* | Copy fixobscuren2015-03-242-3/+10
* | Updated for PV59obscuren2015-03-242-18/+15
* | Added copy functionobscuren2015-03-241-0/+17
* | better block propagationobscuren2015-03-241-2/+2
* | removed legacy codeobscuren2015-03-242-3/+1
* | Gas validation and clean up of legacy codeobscuren2015-03-241-12/+11
* | Decrement depthobscuren2015-03-241-1/+3
* | fixed bad unclesobscuren2015-03-241-2/+2
* | moved state and vm to coreobscuren2015-03-2341-18/+3561