Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "core: block.gasLimit - parent.gasLimit <= parent.gasLimit / ↵ | Gustav Simonsson | 2015-05-27 | 1 | -1/+1 |
| | | | | | | GasLimitBoundDivisor" This reverts commit be2b0501b5832c0b49f07cdf2db597cc34450199. | ||||
* | core: block.gasLimit - parent.gasLimit <= parent.gasLimit / GasLimitBoundDivisor | obscuren | 2015-05-27 | 1 | -1/+1 |
| | |||||
* | cmd/geth, core: Updated DB version & seedhash debug method | obscuren | 2015-05-27 | 1 | -1/+4 |
| | |||||
* | core: check negative value transactions. Closes #1109 | obscuren | 2015-05-27 | 3 | -1/+20 |
| | |||||
* | core: prevent crash when last block fails | obscuren | 2015-05-26 | 1 | -6/+16 |
| | |||||
* | core: ban hash 38f5bb...a714bc | obscuren | 2015-05-26 | 1 | -0/+1 |
| | | | | | Hash 38f5bbbffd74804820ffa4bab0cd540e9de229725afb98c1a7e57936f4a714bc ignored. | ||||
* | core/vm: Fork fix. Removal of appending 0 bytes in memset | obscuren | 2015-05-26 | 1 | -6/+2 |
| | |||||
* | Merge pull request #1101 from obscuren/issue-1096 | Jeffrey Wilcke | 2015-05-26 | 1 | -15/+3 |
|\ | | | | | core/vm: Cleanups & SUB output fix. Closes #1096 | ||||
| * | core/vm: Cleanups & SUB output fix. Closes #1096 | obscuren | 2015-05-26 | 1 | -15/+3 |
| | | |||||
* | | core/vm, rpc: added disasm to `ext_` RPC | obscuren | 2015-05-22 | 1 | -0/+21 |
|/ | |||||
* | Merge pull request #1062 from Gustav-Simonsson/tests_updates | Jeffrey Wilcke | 2015-05-21 | 1 | -0/+6 |
|\ | | | | | Tests updates | ||||
| * | Handle call depth exception for CREATE | Gustav Simonsson | 2015-05-18 | 1 | -0/+6 |
| | | |||||
* | | core: switched back to `set.Set` for uncle verification | obscuren | 2015-05-21 | 1 | -24/+14 |
|/ | |||||
* | Merge pull request #1043 from obscuren/test_fixes | Jeffrey Wilcke | 2015-05-20 | 2 | -1/+13 |
|\ | | | | | core/vm: optimisation on RETURN and updated tests | ||||
| * | core/vm: RETURN op code returns pointer to memory rather than copy | obscuren | 2015-05-20 | 2 | -1/+13 |
| | | |||||
* | | Storing tx receipts in extraDb | zsfelfoldi | 2015-05-20 | 1 | -0/+16 |
| | | |||||
* | | core: block cache Has method thread safe | obscuren | 2015-05-20 | 1 | -0/+3 |
|/ | |||||
* | core: skipped tests while cache disabled | obscuren | 2015-05-20 | 1 | -0/+2 |
| | |||||
* | core: disable cash tmp | obscuren | 2015-05-19 | 1 | -3/+5 |
| | |||||
* | Merge pull request #1022 from obscuren/parallel_nonce_checks | Jeffrey Wilcke | 2015-05-19 | 5 | -21/+107 |
|\ | | | | | Parallelise nonce checks | ||||
| * | core: fixed tests | obscuren | 2015-05-19 | 3 | -8/+15 |
| | | |||||
| * | core: chain manager no longer exports genesis block | obscuren | 2015-05-19 | 1 | -2/+2 |
| | | |||||
| * | core: parallelise nonce checking when processing blocks | obscuren | 2015-05-18 | 2 | -12/+91 |
| | | | | | | | | | | | | ChainManager now uses a parallel approach to block processing where all nonces are checked seperatly from the block processing process. This speeds up the process by about 3 times on my i7 | ||||
* | | core: bugfix test 2. set => hash map | obscuren | 2015-05-18 | 1 | -14/+23 |
| | | |||||
* | | ret | obscuren | 2015-05-18 | 1 | -0/+1 |
| | | |||||
* | | core: tmp diagnostic logs | obscuren | 2015-05-18 | 1 | -0/+7 |
|/ | |||||
* | core: global chain insert lock | obscuren | 2015-05-17 | 1 | -44/+43 |
| | |||||
* | core: further improved uncle error messages | obscuren | 2015-05-16 | 1 | -8/+8 |
| | |||||
* | core, cmd/geth, cmd/mist: cleanup. bump version 0.9.21 | obscuren | 2015-05-16 | 1 | -2/+0 |
| | |||||
* | core, miner: fork resolving and restart miner after sync op | obscuren | 2015-05-16 | 1 | -7/+15 |
| | | | | Fork resolving fixes #940 | ||||
* | Update StateTests and nil create return on failed code deposit | Gustav Simonsson | 2015-05-16 | 1 | -0/+1 |
| | |||||
* | eth/downloader: fixed test | obscuren | 2015-05-15 | 1 | -1/+1 |
| | |||||
* | core: fixed mining strategy | obscuren | 2015-05-15 | 2 | -10/+16 |
| | |||||
* | eth, eth/downloader, miner: use download events to check miner start | obscuren | 2015-05-15 | 2 | -2/+5 |
| | |||||
* | core: changed how head events are checked | obscuren | 2015-05-15 | 2 | -2/+4 |
| | |||||
* | core: improved uncle messages | obscuren | 2015-05-15 | 1 | -3/+3 |
| | |||||
* | core: changed log message for forks. closes #952 | obscuren | 2015-05-14 | 1 | -11/+13 |
| | |||||
* | Fixed max uncle count error message | Vitalik Buterin | 2015-05-14 | 1 | -1/+1 |
| | |||||
* | removed redundant newlines in import block | Bas van Kervel | 2015-05-12 | 1 | -2/+1 |
| | |||||
* | replaced several path.* with filepath.* which is platform independent | Bas van Kervel | 2015-05-12 | 1 | -2/+3 |
| | |||||
* | core: optimise pending transaction processing | obscuren | 2015-05-11 | 1 | -1/+1 |
| | |||||
* | core, eth, miner: improved tx removal & fatal error on db sync err | obscuren | 2015-05-11 | 2 | -1/+7 |
| | | | | | | | | * core: Added GasPriceChange event * eth: When one of the DB flush methods error a fatal error log message is given. Hopefully this will prevent corrupted databases from occuring. * miner: remove transactions with low gas price. Closes #906, #903 | ||||
* | Merge pull request #833 from ethersphere/frontier/solidity | Jeffrey Wilcke | 2015-05-08 | 2 | -3/+5 |
|\ | | | | | solidity compiler and contract metadocs integration | ||||
| * | solidity compiler and contract metadocs integration | zelig | 2015-05-07 | 2 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * common/compiler: solidity compiler + tests * rpc: eth_compilers, eth_compileSolidity + tests * fix natspec test using keystore API, notice exp dynamically changes addr, cleanup * resolver implements registrars and needs to create reg contract (temp) * xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath) * ethereumApi: implement compiler related RPC calls using XEth - json struct tests * admin: make use of XEth.SetSolc to allow runtime setting of compiler paths * cli: command line flags solc to set custom solc bin path * js admin api with new features debug and contractInfo modules * wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions | ||||
* | | core: get transaction by hash from transaction pool | obscuren | 2015-05-08 | 1 | -0/+21 |
| | | |||||
* | | xeth, core, event/filter, rpc: new block and transaction filters | obscuren | 2015-05-07 | 1 | -3/+3 |
|/ | |||||
* | Add genesis block total difficulty in tests | Gustav Simonsson | 2015-05-07 | 1 | -0/+1 |
| | |||||
* | Merge pull request #861 from obscuren/transaction_pool_fixes | Jeffrey Wilcke | 2015-05-07 | 1 | -1/+1 |
|\ | | | | | core: transaction pool fixes & resending transactions | ||||
| * | core: use removeTx instead of delete | obscuren | 2015-05-07 | 1 | -1/+1 |
| | | |||||
* | | Integrate new ethash API and change geth makedag cmd | Gustav Simonsson | 2015-05-05 | 1 | -2/+2 |
|/ | |||||
* | core: added unix timestamp to debug output for block proc | obscuren | 2015-05-04 | 1 | -1/+1 |
| | |||||
* | core: print ignored blocks | obscuren | 2015-05-03 | 1 | -1/+1 |
| | |||||
* | eth,core: changed NewTicker to Tick | obscuren | 2015-05-03 | 1 | -2/+2 |
| | |||||
* | core: added 'ignored' status | obscuren | 2015-05-01 | 1 | -2/+3 |
| | |||||
* | core: added a wait group to chain manager for graceful shutdown | obscuren | 2015-04-30 | 1 | -0/+8 |
| | |||||
* | core: check for parent in calc TD. TD = (N != 0 == parent.TD) || (== D) | obscuren | 2015-04-30 | 1 | -0/+4 |
| | |||||
* | core, eth: verify td of received blocks | obscuren | 2015-04-30 | 1 | -2/+4 |
| | |||||
* | core: remove txs from queue in addition to removal of pending | obscuren | 2015-04-30 | 2 | -1/+49 |
| | |||||
* | core: added some additional chain tests for shortest chain | obscuren | 2015-04-30 | 2 | -5/+30 |
| | |||||
* | core/types, eth: meassure and display propagation times | obscuren | 2015-04-30 | 1 | -0/+2 |
| | |||||
* | core: fixed tetst to reflect (int, error) return by insertChain | obscuren | 2015-04-29 | 1 | -2/+2 |
| | |||||
* | core: return the index of the block that failed when inserting a chain | obscuren | 2015-04-29 | 2 | -4/+6 |
| | |||||
* | core: fixed chain reorg during splits | obscuren | 2015-04-29 | 2 | -27/+83 |
| | | | | | | | | | | | | | | Chain reorgs weren't properly handled when a chain was further ahead. Previously we'd end up with mixed chains in our canonical numbering sequence. Added test for this type of forking. ``` /-o-o-o A o-C-+ \-o-o-o-o B ``` Ends up with with C A1, A2, A3, B4 | ||||
* | core/types: added fake parent hash / hash to String() output | obscuren | 2015-04-29 | 1 | -1/+11 |
| | |||||
* | core: seperated proccing mutex and getting mutex | obscuren | 2015-04-29 | 2 | -42/+48 |
| | |||||
* | core: bump database version | obscuren | 2015-04-29 | 1 | -1/+1 |
| | |||||
* | core: moved mutex locks in insert blocks to start of function | obscuren | 2015-04-29 | 1 | -41/+40 |
| | | | | | Insert blocks will no longer allow processing of multiple chains at the same time. The block lock has been moved to start of the function. | ||||
* | core: set min gas price at startup | obscuren | 2015-04-29 | 1 | -10/+10 |
| | |||||
* | core, miner: added value check on tx validation | obscuren | 2015-04-26 | 4 | -20/+17 |
| | | | | | | * Changed CalcGasLimit to no longer need current block * Added a gas * price + value on tx validation * Transactions in the pool are now re-validated once every X | ||||
* | Merge pull request #805 from obscuren/download_improvements | Jeffrey Wilcke | 2015-04-25 | 5 | -16/+31 |
|\ | | | | | eth, eth/downloader: improve downloader and remove asynchronousness | ||||
| * | xeth, core, cmd/utils: Transaction can not be over block gas limit | obscuren | 2015-04-24 | 5 | -16/+31 |
| | | | | | | | | Transactions will be invalidated when the tx.gas_limit > block.gas_limit | ||||
* | | core: fixed wildcard topic filters. Closes #725 | obscuren | 2015-04-24 | 1 | -5/+14 |
|/ | |||||
* | Moved leveldb update loop to eth/backend | Bas van Kervel | 2015-04-23 | 1 | -5/+5 |
| | | | | | | change order of block insert and update LastBlock bugfix, wrong hash stored in blockDb | ||||
* | core: pending txs now re-validated once every second | obscuren | 2015-04-23 | 1 | -3/+27 |
| | |||||
* | core: added accessor for queued transactions | obscuren | 2015-04-23 | 1 | -0/+12 |
| | |||||
* | eth: moved mined, tx events to protocol-hnd and improved tx propagation | obscuren | 2015-04-23 | 1 | -2/+4 |
| | | | | | | | | | Transactions are now propagated to peers from which we have not yet received the transaction. This will significantly reduce the chatter on the network. Moved new mined block handler to the protocol handler and moved transaction handling to protocol handler. | ||||
* | core: fixed test | obscuren | 2015-04-23 | 1 | -1/+3 |
| | |||||
* | core: set the state for the managed tx state | obscuren | 2015-04-23 | 1 | -1/+1 |
| | | | | | Set the state for the managed tx state instead of creating a new managed state. | ||||
* | core: improved error message for invalid nonce txs | obscuren | 2015-04-23 | 1 | -1/+1 |
| | |||||
* | core: only post event once per tx & fixed test | obscuren | 2015-04-23 | 2 | -15/+21 |
| | |||||
* | core: implemented a queued approach processing transactions | obscuren | 2015-04-23 | 3 | -25/+123 |
| | | | | | | | Implemented a new transaction queue. Transactions with a holes in their nonce sequence are also not propagated over the network. N: 0,1,2,5,6,7 = propagate 0..2 -- 5..N is kept in the tx pool | ||||
* | Validate block header UncleHash against calculated hash | Gustav Simonsson | 2015-04-23 | 2 | -2/+13 |
| | |||||
* | core/rpc: fix for null entries in log filters. Closes #725 | obscuren | 2015-04-21 | 1 | -1/+2 |
| | | | | | | You can now specify `null` as a way of saying "not interested in this topic, match all". core.Filter assumes the zero'd address to be the wildcard. JSON rpc assumes empty strings to be wildcards. | ||||
* | core: removed nonce resetting from the block processor. | obscuren | 2015-04-21 | 3 | -4/+7 |
| | | | | All nonce error handling has been moved to the worker | ||||
* | core: shuffled some code | obscuren | 2015-04-21 | 1 | -7/+13 |
| | |||||
* | core: upgraded block chain version | obscuren | 2015-04-21 | 1 | -1/+1 |
| | |||||
* | 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 | 2 | -45/+0 |
| | | |||||
| * | NatSpec passing end to end test | zsfelfoldi | 2015-04-20 | 2 | -19/+28 |
| | | |||||
| * | s | zsfelfoldi | 2015-04-20 | 1 | -1/+2 |
| | | |||||
| * | NatSpec contracts in genesis block, end to end test (unfinished) | zsfelfoldi | 2015-04-20 | 2 | -0/+41 |
| | | |||||
* | | core: force block process & fixed chain manager test | obscuren | 2015-04-20 | 3 | -4/+24 |
| | | |||||
* | | core: added chain reset mechanism on bad blocks | obscuren | 2015-04-20 | 2 | -12/+30 |
| | | |||||
* | | core: added chain head reset to known block | obscuren | 2015-04-20 | 1 | -0/+24 |
| | | |||||
* | | core: moved TD calculation from proc to chain | obscuren | 2015-04-20 | 6 | -24/+24 |
|/ | |||||
* | Merge branch 'rlp-size-validation' of https://github.com/fjl/go-ethereum ↵ | obscuren | 2015-04-19 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | into fjl-rlp-size-validation Conflicts: eth/protocol.go | ||||
| * | core/types: add rlp tag "nil" for Transaction.Recipient | Felix Lange | 2015-04-17 | 1 | -1/+1 |
| | | |||||
* | | cleanup | obscuren | 2015-04-19 | 1 | -3/+2 |
| | | |||||
* | | Merge branch 'develop' into downloader-proto | obscuren | 2015-04-19 | 1 | -1/+7 |
|\ \ | |||||
| * | | core: merge using equal block numbers rather than the current block | obscuren | 2015-04-19 | 1 | -1/+7 |
| |/ | |||||
* / | core: improved uncle validation error message | obscuren | 2015-04-18 | 1 | -3/+2 |
|/ | |||||
* | core: changed split detection to also account for number less than | obscuren | 2015-04-16 | 1 | -1/+2 |
| | |||||
* | core: fixed issue for logs filter. Closes #629 | obscuren | 2015-04-15 | 1 | -1/+1 |
| | | | | | Log filter `Address` field was cast to a Hash which causes it to always fail. | ||||
* | core/types: Changed bloom lookup to take anything bytes backed | obscuren | 2015-04-15 | 1 | -2/+6 |
| | |||||
* | state: fixed mutex lockes | obscuren | 2015-04-14 | 1 | -2/+14 |
| | |||||
* | core: during split properly insert parent blocks | obscuren | 2015-04-14 | 1 | -1/+32 |
| | | | | | | | During a split parent and grand parent were included in the database but not in the canonical chain (numbered chain). Added a `merge` function which finds the common ancestor of the chains and reinserts the missing blocks. | ||||
* | state: fixed nonce issue in managed state | obscuren | 2015-04-14 | 1 | -2/+2 |
| | | | | Rlock => Lock when creating a new nonce | ||||
* | Merge pull request #702 from ethersphere/frontier/blockpool | Jeffrey Wilcke | 2015-04-13 | 1 | -0/+1 |
|\ | | | | | blockpool stability fixes: | ||||
| * | blockpool stability fixes: | zelig | 2015-04-13 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | - follow up locks and fix them - chainManager: call SetQueued for parentErr future blocks, uncomment TD checks, unskip test - make ErrIncorrectTD non-fatal to be forgiving to genuine mistaken nodes (temp) but demote them to guard against stuck best peers. - add purging to bounded nodeCache (config nodeCacheSize) - use nodeCache when creating blockpool entries and let non-best peers add blocks (performance boost) - minor error in addError - reduce idleBestPeerTimeout to 1 minute - correct status counts and unskip status passing status test - glogified logging | ||||
* | | Merge pull request #700 from bas-vk/issue_650 | Jeffrey Wilcke | 2015-04-13 | 2 | -2/+11 |
|\ \ | |/ |/| | Added blockchain DB versioning support, closes #650 | ||||
| * | Added blockchain DB versioning support, closes #650 | Bas van Kervel | 2015-04-13 | 2 | -2/+11 |
| | | |||||
* | | Set input to nil for create | obscuren | 2015-04-11 | 1 | -1/+4 |
|/ | |||||
* | Merge branch 'frontier/blockpool' of ↵ | obscuren | 2015-04-09 | 2 | -0/+5 |
|\ | | | | | | | https://github.com/ethersphere/go-ethereum into ethersphere-frontier/blockpool | ||||
| * | future queued block support | zelig | 2015-04-09 | 2 | -0/+5 |
| | | | | | | | | | | | | | | - 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) | ||||
* | | Added default registrar | obscuren | 2015-04-09 | 1 | -9/+1 |
|/ | |||||
* | Moved handling of nonces to the managed state | obscuren | 2015-04-09 | 2 | -5/+8 |
| | |||||
* | Default log to stderr | obscuren | 2015-04-09 | 1 | -1/+0 |
| | |||||
* | Improved transaction pool | obscuren | 2015-04-09 | 6 | -141/+103 |
| | | | | | | | | | | The transaction pool will now some easily be able to pre determine the validity of a transaction by checking the following: * Account existst * gas limit higher than the instrinsic gas * enough funds to pay upfront costs * nonce check | ||||
* | ignore invalid txs right after being added if they prove incorrect | obscuren | 2015-04-09 | 1 | -0/+1 |
| | |||||
* | Changed how logs are being recorded | obscuren | 2015-04-08 | 9 | -113/+68 |
| | | | | | | | Logs are now recorded per transactions instead of tossing them out after each transaction. This should also fix an issue with `eth_getFilterLogs` (#629) Also now implemented are the `transactionHash, blockHash, transactionIndex, logIndex` on logs. Closes #654. | ||||
* | Sync managed accounts to the network | obscuren | 2015-04-08 | 1 | -3/+2 |
| | |||||
* | Added additional methods to the managed state | obscuren | 2015-04-08 | 2 | -2/+44 |
| | | | | | * GetNonce Returns the canonical nonce * SetNonce Set the managed account's nonce | ||||
* | Improved tx pool to ignore invalid transactions | obscuren | 2015-04-08 | 1 | -8/+29 |
| | | | | | Transaction pool will attempt to ignore invalid transactions it had previously encountered. | ||||
* | Merge pull request #648 from ↵ | Jeffrey Wilcke | 2015-04-08 | 2 | -3/+13 |
|\ | | | | | | | | | Gustav-Simonsson/forward_ecrecover_err_and_remove_dup_checks Forward and log EC recover err and remove dup pubkey len check | ||||
| * | Use logger.Error instead of 0 with glog | Gustav Simonsson | 2015-04-07 | 2 | -2/+4 |
| | | |||||
| * | Forward and log EC recover err and remove dup pubkey len check | Gustav Simonsson | 2015-04-07 | 2 | -3/+11 |
| | | |||||
* | | Updated logging | obscuren | 2015-04-07 | 1 | -5/+5 |
| | | |||||
* | | Fixed tests | obscuren | 2015-04-07 | 1 | -1/+1 |
|/ | |||||
* | Block header changed & console miner control | obscuren | 2015-04-06 | 4 | -6/+6 |
| | | | | | | * miner control moved to `admin.miner` * miner option to set extra data * block extra now bytes | ||||
* | time lapse | obscuren | 2015-04-05 | 1 | -1/+3 |
| | |||||
* | Updated logging | obscuren | 2015-04-05 | 1 | -8/+18 |
| | |||||
* | Changed R S to big int and fixed tests | obscuren | 2015-04-05 | 4 | -8/+28 |
| | |||||
* | Changed R & S to *big.Int | obscuren | 2015-04-05 | 1 | -6/+6 |
| | |||||
* | Added thread safe each | obscuren | 2015-04-05 | 2 | -4/+15 |
| | |||||
* | Removed debugging | obscuren | 2015-04-05 | 1 | -7/+0 |
| | |||||
* | prevent deadlock | obscuren | 2015-04-05 | 2 | -17/+10 |
| | |||||
* | Improved chain manager, improved block processor, fixed tests | obscuren | 2015-04-04 | 4 | -7/+44 |
| | | | | | | * ChainManager allows cached future blocks for later processing * BlockProcessor allows a 4 second window on future blocks * Fixed tests | ||||
* | Added block cache delete method | obscuren | 2015-04-04 | 2 | -0/+29 |
| | |||||
* | Changed log to new logging | obscuren | 2015-04-04 | 2 | -9/+15 |
| | |||||
* | Moved logging to logger.Core | obscuren | 2015-04-04 | 4 | -11/+10 |
| | |||||
* | check for nil block (tmp). | obscuren | 2015-04-04 | 1 | -0/+3 |
| | | | | @zelig this needs to be addressed in the block pool. | ||||
* | basic glog | obscuren | 2015-04-04 | 6 | -37/+37 |
| | |||||
* | Merge branch 'develop' into glog | obscuren | 2015-04-03 | 2 | -2/+3 |
|\ | |||||
| * | do not include BlockEqualTS as valid uncles | obscuren | 2015-04-03 | 2 | -2/+3 |
| | | |||||
* | | glog wip | obscuren | 2015-04-03 | 1 | -1/+4 |
|/ | |||||
* | bool => int | obscuren | 2015-04-03 | 1 | -63/+63 |
| | |||||
* | fixed stack level | obscuren | 2015-04-03 | 1 | -3/+4 |
| | |||||
* | Removed old (unused) argument | obscuren | 2015-04-02 | 4 | -6/+6 |
| | |||||
* | Merge pull request #623 from ↵ | Jeffrey Wilcke | 2015-04-02 | 12 | -105/+67 |
|\ | | | | | | | | | Gustav-Simonsson/read_protocol_values_from_common_params Read most protocol params from common/params.json | ||||
| * | Read most protocol params from common/params.json | Gustav Simonsson | 2015-04-02 | 12 | -105/+67 |
| | | | | | | | | | | | | | | | | | | * 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 | ||||
* | | Fixed uncle rewards in miner | obscuren | 2015-04-02 | 1 | -17/+23 |
|/ | | | | | The uncle rewards were changed in the block processor. This change will reflect those changes in the miner as well. | ||||
* | sha3 stack check | obscuren | 2015-04-01 | 1 | -1/+1 |
| | |||||
* | Check stack for BALANCE. Closes #622 | obscuren | 2015-04-01 | 1 | -1/+1 |
| | |||||
* | 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 | ||||
* | Merge branch 'hexify' of https://github.com/tgerring/go-ethereum into ↵ | obscuren | 2015-04-01 | 1 | -3/+19 |
|\ | | | | | | | tgerring-hexify | ||||
| * | txMeta storage as struct | Taylor Gerring | 2015-04-01 | 1 | -17/+11 |
| | | |||||
| * | Store and retrieve tx context metadata #608 | Taylor Gerring | 2015-04-01 | 1 | -3/+25 |
| | | | | | | | | | | Improving this in the future will allow for cleaning up a bit of legacy code. | ||||
* | | fixed tests | obscuren | 2015-04-01 | 1 | -1/+1 |
| | | |||||
* | | Blocktest fixed, Execution fixed | obscuren | 2015-04-01 | 6 | -35/+70 |
|/ | | | | | | * 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 |
| | |||||
* | Correct gas limit validation according to new algorithm | Gustav Simonsson | 2015-03-30 | 1 | -1/+4 |
| | | | | | | * Use absolute value of (block's gas limit) - (parent's gas limit) in comparison with diff limit. * Ensure the diff is strictly smaller than the allowed size. | ||||
* | Cleanup. | obscuren | 2015-03-29 | 1 | -10/+13 |
| | |||||
* | Merge branch 'fix_ecrecover' of https://github.com/ebuchman/go-ethereum into ↵ | obscuren | 2015-03-29 | 1 | -7/+21 |
|\ | | | | | | | ebuchman-fix_ecrecover | ||||
* \ | Merge pull request #579 from tgerring/rpcargs | Jeffrey Wilcke | 2015-03-29 | 1 | -23/+0 |
|\ \ | | | | | | | RPC Args | ||||
| * | | Decouple core from rpc | Taylor Gerring | 2015-03-27 | 1 | -23/+0 |
| | | | |||||
* | | | Cleanup VM. | obscuren | 2015-03-29 | 4 | -56/+45 |
| | | | | | | | | | | | | | | | | | | | | | * CALLDATA use getData * removed old context get range value * removed casting big => int for some cases * pc now big int #457 | ||||
* | | | Cleanup VM | obscuren | 2015-03-29 | 5 | -29/+40 |
| | | | |||||
* | | | PUSH gas fix | obscuren | 2015-03-27 | 2 | -21/+5 |
| | | | |||||
* | | | Removed comments | obscuren | 2015-03-27 | 1 | -15/+0 |
| | | | |||||
* | | | Removed defer/panic. #503 | obscuren | 2015-03-27 | 4 | -120/+180 |
| | | | |||||
* | | | Explicitly check memory's data store. #515 | obscuren | 2015-03-27 | 1 | -1/+8 |
|/ / | |||||
* | | Stack limit | obscuren | 2015-03-27 | 1 | -0/+6 |
| | | |||||
* | | Fixed filter and refactored code | obscuren | 2015-03-26 | 1 | -1/+1 |
| | | |||||
* | | added tx tests and fixed block tests | obscuren | 2015-03-26 | 4 | -4/+59 |
| | | |||||
* | | fixed tests | obscuren | 2015-03-24 | 1 | -1/+1 |
| | | |||||
* | | Cleaned up changes | obscuren | 2015-03-24 | 4 | -11/+7 |
| | | |||||
* | | Modified according to poc 9 changes | obscuren | 2015-03-24 | 3 | -6/+8 |
| | | | | | | | | * Refund of value | ||||
* | | Secure trie shakey / key matching | obscuren | 2015-03-24 | 1 | -4/+4 |
| | | |||||
* | | Copy fix | obscuren | 2015-03-24 | 2 | -3/+10 |
| | | |||||
* | | Updated for PV59 | obscuren | 2015-03-24 | 2 | -18/+15 |
| | | | | | | | | * Value XFER are refunded back to the sender if the execution fails | ||||
* | | Added copy function | obscuren | 2015-03-24 | 1 | -0/+17 |
| | | |||||
* | | better block propagation | obscuren | 2015-03-24 | 1 | -2/+2 |
| | | |||||
* | | removed legacy code | obscuren | 2015-03-24 | 2 | -3/+1 |
| | | |||||
* | | Gas validation and clean up of legacy code | obscuren | 2015-03-24 | 1 | -12/+11 |
| | | |||||
* | | Decrement depth | obscuren | 2015-03-24 | 1 | -1/+3 |
| | | |||||
* | | fixed bad uncles | obscuren | 2015-03-24 | 1 | -2/+2 |
| | | |||||
* | | moved state and vm to core | obscuren | 2015-03-23 | 41 | -18/+3561 |
| | | |||||
* | | moved to error | obscuren | 2015-03-23 | 1 | -9/+2 |
| | | |||||
* | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-03-23 | 1 | -2/+4 |
|\ \ | |||||
| * | | Correct difficulty calculation to use new difficulty minimum | Gustav Simonsson | 2015-03-23 | 1 | -2/+4 |
| |/ | |||||
* | | logging for possible uncles | obscuren | 2015-03-23 | 3 | -15/+31 |
| | | |||||
* | | added some nil checks for cache (testing specific) | obscuren | 2015-03-23 | 1 | -6/+19 |
| | | |||||
* | | finally merged *the missing* | obscuren | 2015-03-23 | 2 | -0/+9 |
|/ | |||||
* | Fixed incorrect recipient derived | obscuren | 2015-03-21 | 1 | -1/+1 |
| | |||||
* | merge | obscuren | 2015-03-20 | 1 | -2/+2 |
|\ | |||||
| * | Merge branch 'rpcxeth' into rpcfrontier | Taylor Gerring | 2015-03-20 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | Conflicts: rpc/api.go | ||||
| | * | Reorg filter logic to XEth | Taylor Gerring | 2015-03-20 | 1 | -1/+1 |
| | | | |||||
| * | | Listen to tx pre event and trigger 'pending' | obscuren | 2015-03-20 | 1 | -1/+1 |
| | | | |||||
* | | | Added caching for block chain. Currently set to 10k | obscuren | 2015-03-20 | 4 | -2/+136 |
| | | | |||||
* | | | copy over loop | obscuren | 2015-03-20 | 1 | -5/+2 |
| | | | |||||
* | | | :-) | obscuren | 2015-03-20 | 1 | -1/+0 |
| | | | |||||
* | | | merge | obscuren | 2015-03-19 | 6 | -31/+44 |
|\| | | |||||
| * | | re-enabled json logging | obscuren | 2015-03-19 | 1 | -2/+0 |
| |/ | |||||
| * | fixed chain event. Closes #529 | obscuren | 2015-03-19 | 6 | -29/+46 |
| | | |||||
* | | Merge branch 'conversion' of github.com-obscure:ethereum/go-ethereum into ↵ | obscuren | 2015-03-18 | 10 | -94/+180 |
|\ \ | | | | | | | | | | conversion | ||||
| * \ | Merge remote-tracking branch 'ethereum/conversion' into conversion | Felix Lange | 2015-03-18 | 2 | -0/+10 |
| |\ \ | |||||
| * | | | core: fix tests | Felix Lange | 2015-03-18 | 5 | -19/+13 |
| | | | | |||||
| * | | | core: use package rlp to encode blocks | Felix Lange | 2015-03-18 | 1 | -15/+12 |
| | | | | | | | | | | | | | | | | | | | | This also changes the chain export format so there is no enclosing list around the blocks, which enables streaming export. | ||||
| * | | | core/types: use package rlp instead of common.Decode | Felix Lange | 2015-03-18 | 4 | -60/+155 |
| | | | | |||||
* | | | | prep template for fixed size hashes | obscuren | 2015-03-18 | 1 | -2/+2 |
| |/ / |/| | | |||||
* | | | conversions. -compilable- | obscuren | 2015-03-18 | 1 | -0/+6 |
| | | | |||||
* | | | conversions | obscuren | 2015-03-18 | 1 | -0/+4 |
|/ / | |||||
* | | Fixed tests and bloom | obscuren | 2015-03-18 | 2 | -11/+17 |
| | | |||||
* | | bloom | obscuren | 2015-03-17 | 1 | -3/+4 |
| | | |||||
* | | Fixed VM & Tests w/ conversion | obscuren | 2015-03-17 | 2 | -12/+11 |
| | | |||||
* | | core: actually convert transaction pool | Felix Lange | 2015-03-17 | 3 | -17/+19 |
| | | |||||
* | | Merge remote-tracking branch 'ethereum/conversion' into conversion | Felix Lange | 2015-03-17 | 7 | -61/+72 |
|\ \ | |||||
| * | | converted vm | obscuren | 2015-03-17 | 7 | -61/+72 |
| | | | |||||
* | | | core: adapt Message for new Transaction.From signature | Felix Lange | 2015-03-17 | 2 | -3/+5 |
| | | | |||||
* | | | core: convert transaction pool to common.{Address,Hash} | Felix Lange | 2015-03-17 | 1 | -33/+21 |
| | | | |||||
* | | | core/types: don't use Address zero value for invalid addresses | Felix Lange | 2015-03-17 | 2 | -27/+37 |
| | | | |||||
* | | | core/types: fix Transaction.Hash and add support for encoding with package rlp | Felix Lange | 2015-03-17 | 2 | -6/+75 |
|/ / | |||||
* | | converted chain manager | obscuren | 2015-03-17 | 5 | -49/+55 |
| | | |||||
* | | updated vm env | obscuren | 2015-03-17 | 2 | -19/+20 |
| | | |||||
* | | updated blockpool | obscuren | 2015-03-17 | 3 | -24/+24 |
| | | |||||
* | | Merge branch 'conversion' of github.com-obscure:ethereum/go-ethereum into ↵ | obscuren | 2015-03-17 | 2 | -68/+26 |
|\ \ | | | | | | | | | | conversion | ||||
| * | | core/types: use common.{Hash,Address} in for transactions | Felix Lange | 2015-03-17 | 2 | -68/+26 |
| | | | |||||
* | | | converted vm | obscuren | 2015-03-17 | 1 | -3/+2 |
|/ / | |||||
* | | block conversion | obscuren | 2015-03-17 | 5 | -36/+75 |
| | | |||||
* | | new type + additional methods | obscuren | 2015-03-16 | 1 | -17/+17 |
|/ | |||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 16 | -96/+96 |
| | |||||
* | 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 | 2 | -7/+1 |
| | | |||||
* | | typo | obscuren | 2015-03-14 | 1 | -1/+1 |
| | | |||||
* | | Improved errors. Closes #475 | obscuren | 2015-03-14 | 1 | -2/+2 |
| | | |||||
* | | GetBlockByNumber now properly looks for a number in the database | obscuren | 2015-03-14 | 1 | -28/+33 |
| | | |||||
* | | Return proper error | obscuren | 2015-03-14 | 3 | -1/+6 |
| | | |||||
* | | Implemented managed state | obscuren | 2015-03-13 | 1 | -4/+2 |
| | | | | | | | | * Reimplemented nonce management for known accounts. | ||||
* | | Implemented a manage state for keeping track of nonces | obscuren | 2015-03-13 | 1 | -5/+6 |
| | | |||||
* | | Increased genesis gas & gas floor limit to 3141592 | obscuren | 2015-03-13 | 2 | -4/+3 |
| | | |||||
* | | Changed context and ADDMOD, MULMOD | obscuren | 2015-03-13 | 1 | -1/+5 |
| | | | | | | | | | | * Cleaned up VM execution. VM run now takes a context * ADDMOD/MULMOD - removed incorrect cast | ||||
* | | more obvious failure for ethtest | obscuren | 2015-03-13 | 1 | -4/+1 |
| | | |||||
* | | Removed some of that gas pre pay magic | obscuren | 2015-03-13 | 2 | -31/+33 |
| | | |||||
* | | Add additional extra database for non-protocol related data | obscuren | 2015-03-12 | 4 | -6/+22 |
|/ | | | | * Add transaction to extra database after a successful block process | ||||
* | Changed V to byte. Closes #456 | obscuren | 2015-03-12 | 1 | -4/+4 |
| | |||||
* | Comment out broken test (return type does not exist) | Taylor Gerring | 2015-03-12 | 1 | -4/+5 |
| |