Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1666 from obscuren/create-transaction | Jeffrey Wilcke | 2015-11-21 | 1 | -0/+54 |
|\ | | | | | rpc/api, xeth: added signTransaction method | ||||
| * | rpc/api, xeth: added signTransaction method | Jeffrey Wilcke | 2015-11-18 | 1 | -0/+54 |
| | | | | | | | | | | | | | | SignTransaction creates a transaction but does submit it to the network. SignTransaction returns a structure which includes the transaction object details as well as the RLP encoded transaction that could possibly be submitted by the SendRawTransaction method. | ||||
* | | core, eth, miner, xeth: clean up tx/receipt db accessors | Péter Szilágyi | 2015-11-19 | 1 | -37/+4 |
| | | |||||
* | | core, eth, rpc: split out block validator and state processor | Jeffrey Wilcke | 2015-11-18 | 1 | -1/+1 |
|/ | | | | | | | | | | | | This removes the burden on a single object to take care of all validation and state processing. Now instead the validation is done by the `core.BlockValidator` (`types.Validator`) that takes care of both header and uncle validation through the `ValidateBlock` method and state validation through the `ValidateState` method. The state processing is done by a new object `core.StateProcessor` (`types.Processor`) and accepts a new state as input and uses that to process the given block's transactions (and uncles for rewords) to calculate the state root for the next block (P_n + 1). | ||||
* | cmd/utils, rpc/comms: stop XEth when IPC connection ends | Felix Lange | 2015-10-30 | 1 | -7/+7 |
| | | | | | | | | | | | There are a bunch of changes required to make this work: - in miner: allow unregistering agents, fix RemoteAgent.Stop - in eth/filters: make FilterSystem.Stop not crash - in rpc/comms: move listen loop to platform-independent code Fixes #1930. I ran the shell loop there for a few minutes and didn't see any changes in the memory profile. | ||||
* | eth, xeth: fix GasPriceOracle goroutine leak | Felix Lange | 2015-10-28 | 1 | -24/+17 |
| | | | | | | | | | | | | | XEth.gpo was being initialized as needed. WithState copies the XEth struct including the gpo field. If gpo was nil at the time of the copy and Call or Transact were invoked on it, an additional GPO listenLoop would be spawned. Move the lazy initialization to GasPriceOracle instead so the same GPO instance is shared among all created XEths. Fixes #1317 Might help with #1930 | ||||
* | console: | zelig | 2015-10-22 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lines with leading space are ommitted from history * exit processed even with whitespace around * all whitespace lines (not only empty ones) are ignored add 7 missing commands to admin api autocomplete registrar: methods now return proper error if reg addresses are not set. fixes #1457 rpc/console: fix personal.newAccount() regression. Now all comms accept interactive password registrar: add registrar tests for errors crypto: catch AES decryption error on presale wallet import + fix error msg format. fixes #1580 CLI: improve error message when starting a second instance of geth. fixes #1564 cli/accounts: unlock multiple accounts. fixes #1785 * make unlocking multiple accounts work with inline <() fd * passwdfile now correctly read only once * improve logs * fix CLI help text for unlocking fix regression with docRoot / admin API * docRoot/jspath passed to rpc/api ParseApis, which passes onto adminApi * docRoot field for JS console in order to pass when RPC is (re)started * improve flag desc for jspath common/docserver: catch http errors from response fix rpc/api tests common/natspec: fix end to end test (skipped because takes 8s) registrar: fix major regression: * deploy registrars on frontier * register HashsReg and UrlHint in GlobalRegistrar. * set all 3 contract addresses in code * zero out addresses first in tests | ||||
* | core, core/state: move gas tracking out of core/state | Felix Lange | 2015-10-17 | 1 | -3/+2 |
| | | | | | | | The amount of gas available for tx execution was tracked in the StateObject representing the coinbase account. This commit makes the gas counter a separate type in package core, which avoids unintended consequences of intertwining the counter with state logic. | ||||
* | Merge pull request #1899 from obscuren/mipmap-bloom | Jeffrey Wilcke | 2015-10-17 | 1 | -10/+6 |
|\ | | | | | core, eth/filters, miner, xeth: Optimised log filtering | ||||
| * | core, eth/filters, miner, xeth: Optimised log filtering | Jeffrey Wilcke | 2015-10-17 | 1 | -10/+6 |
| | | | | | | | | | | | | | | Log filtering is now using a MIPmap like approach where addresses of logs are added to a mapped bloom bin. The current levels for the MIP are in ranges of 1.000.000, 500.000, 100.000, 50.000, 1.000. Logs are therefor filtered in batches of 1.000. | ||||
* | | Merge pull request #1869 from Gustav-Simonsson/gpu_miner | Jeffrey Wilcke | 2015-10-16 | 1 | -1/+1 |
|\ \ | | | | | | | all: Add GPU mining, disabled by default | ||||
| * | | all: Add GPU mining, disabled by default | Gustav Simonsson | 2015-10-07 | 1 | -1/+1 |
| | | | |||||
* | | | core/state, core, miner: handle missing root error from state.New | Gustav Simonsson | 2015-10-16 | 1 | -4/+19 |
| |/ |/| | |||||
* | | core, eth, event, miner, xeth: fix event post / subscription race | Péter Szilágyi | 2015-10-12 | 1 | -9/+16 |
| | | |||||
* | | cmd/geth, cmd/utils, core, rpc: renamed to blockchain | Jeffrey Wilcke | 2015-10-04 | 1 | -9/+9 |
| | | | | | | | | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted. | ||||
* | | cmd/evm, core/vm, test: refactored VM and core | Jeffrey Wilcke | 2015-10-04 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * core/vm: byte code VM moved to jump table instead of switch * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * Byte code VM now shares the same code as the JITVM * Renamed Context to Contract * Changed initialiser of state transition & unexported methods * Removed the Execution object and refactor `Call`, `CallCode` & `Create` in to their own functions instead of being methods. * Removed the hard dep on the state for the VM. The VM now depends on a Database interface returned by the environment. In the process the core now depends less on the statedb by usage of the env * Moved `Log` from package `core/state` to package `core/vm`. | ||||
* | | core, event/filter, xeth: refactored filter system | Jeffrey Wilcke | 2015-10-03 | 1 | -16/+15 |
|/ | | | | | | | Moved the filtering system from `event` to `eth/filters` package and removed the `core.Filter` object. The `filters.Filter` object now requires a `common.Database` rather than a `eth.Backend` and invokes the `core.GetBlockByX` directly rather than thru a "manager". | ||||
* | xeth: fixed nil pointer of filter retrieval | Jeffrey Wilcke | 2015-09-25 | 1 | -12/+34 |
| | | | | | | | | | This fix addresses an issue with filters that were (possibly) not yet added to the filter queues but were expected. I've added additional nil checks making sure it doesn't crash and swapped the installation of the filter around so it's installed before use. Closes #1665 | ||||
* | core: split out TD from database and all internals | Péter Szilágyi | 2015-09-11 | 1 | -0/+4 |
| | |||||
* | Add tests for uncle timestamps and refactor timestamp type | Gustav Simonsson | 2015-08-25 | 1 | -1/+2 |
| | |||||
* | Merge pull request #1654 from obscuren/call-gas | Jeffrey Wilcke | 2015-08-17 | 1 | -5/+9 |
|\ | | | | | xeth: call fix when doing 'create'-like calls | ||||
| * | xeth: max gas limit | Jeffrey Wilcke | 2015-08-16 | 1 | -5/+9 |
| | | |||||
* | | xeth: added a transact mu | Jeffrey Wilcke | 2015-08-15 | 1 | -4/+4 |
|/ | | | | | | | | | Added a transact mutex. The transact mutex will fix an issue where transactions were created with the same nonce resulting in some transactions being dropped. This happened when two concurrent calls would call the `Transact` method (which is OK) which would both call `GetNonce`. While the managed is thread safe it does not help us in this case. | ||||
* | support for user agents | Bas van Kervel | 2015-08-12 | 1 | -0/+4 |
| | |||||
* | Merge pull request #1604 from obscuren/db-merge | Jeffrey Wilcke | 2015-08-09 | 2 | -9/+9 |
|\ | | | | | core, eth, trie, xeth: merged state, chain, extra databases in one | ||||
| * | core, eth, trie, xeth: merged state, chain, extra databases in one | Jeffrey Wilcke | 2015-08-08 | 2 | -9/+9 |
| | | |||||
* | | xeth: fixed contract addr check | Jeffrey Wilcke | 2015-08-07 | 1 | -1/+1 |
|/ | |||||
* | xeth: added address hex check and length check | Jeffrey Wilcke | 2015-08-07 | 2 | -0/+37 |
| | |||||
* | improved error detection and handling for NewTransactionFromBytes | Bas van Kervel | 2015-07-29 | 1 | -3/+14 |
| | | | | integrated review comments | ||||
* | Merge pull request #1515 from fjl/license-fixes | Jeffrey Wilcke | 2015-07-28 | 7 | -7/+7 |
|\ | | | | | all: fix license headers one more time | ||||
| * | all: fix license headers one more time | Felix Lange | 2015-07-24 | 7 | -7/+7 |
| | | | | | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | | cmd/core,xeth: removed unneeded states & added batch writes | Jeffrey Wilcke | 2015-07-23 | 1 | -1/+1 |
|/ | |||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 7 | -28/+28 |
| | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | xeth: fix #1485, data race in fiilter creation and event firing | Péter Szilágyi | 2015-07-20 | 1 | -0/+9 |
| | |||||
* | xeth: removed unneeded mutex lock | Jeffrey Wilcke | 2015-07-16 | 1 | -3/+0 |
| | |||||
* | xeth: log signed tx hash | Gustav Simonsson | 2015-07-13 | 1 | -2/+2 |
| | |||||
* | miner, xeth: fire log event during mining. Fix return raw tx | Jeffrey Wilcke | 2015-07-08 | 1 | -1/+0 |
| | |||||
* | all: add some godoc synopsis comments | Felix Lange | 2015-07-07 | 1 | -1/+1 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 7 | -0/+112 |
| | |||||
* | Merge pull request #1428 from obscuren/coinbase-fixes | Jeffrey Wilcke | 2015-07-07 | 2 | -19/+0 |
|\ | | | | | cmd,eth,rpc,tests: default coinbase | ||||
| * | cmd,eth,rpc,tests: default coinbase | Jeffrey Wilcke | 2015-07-07 | 2 | -19/+0 |
| | | |||||
* | | fix natspec test | zelig | 2015-07-07 | 1 | -28/+0 |
|/ | | | | | | * registar url string retrieval chop leading zeros now * rewrite test using test mining * remove temporary applyTxs from xeth | ||||
* | rpc, xeth: fixed returned tx hash & receipt logs | Jeffrey Wilcke | 2015-07-06 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1409 from fjl/fix-tx-hash | Jeffrey Wilcke | 2015-07-06 | 1 | -1/+1 |
|\ | | | | | core/types, xeth: separate tx hash and tx signature hash | ||||
| * | core/types, xeth: separate tx hash and tx signature hash | Felix Lange | 2015-07-06 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1397 from tgerring/rpcreceipt | Jeffrey Wilcke | 2015-07-06 | 1 | -1/+0 |
|\ \ | |/ |/| | getTransactionReceipt RPC support | ||||
| * | Always return transaction hash | Taylor Gerring | 2015-07-06 | 1 | -1/+0 |
| | | |||||
| * | Remove redundant function | Taylor Gerring | 2015-07-05 | 1 | -2/+2 |
| | | |||||
| * | Decode full receipt storage | Taylor Gerring | 2015-07-04 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #1283 from ethersphere/frontier/accounts | Jeffrey Wilcke | 2015-07-04 | 1 | -1/+4 |
|\ \ | |/ |/| | Account management improvements | ||||
| * | rpc/js coinbase returns null if no etherbase set | zelig | 2015-07-03 | 1 | -1/+4 |
| | | |||||
* | | core, eth, miner, xeth: receipt storage fix | Jeffrey Wilcke | 2015-07-04 | 1 | -13/+3 |
| | | | | | | | | | | * Added GetReceiptsFromBlock, GetReceipt, PutReceipts * Added ContractAddress to receipt. See #1042 | ||||
* | | core, miner: miner header validation, transaction & receipt writing | Jeffrey Wilcke | 2015-07-03 | 1 | -0/+1 |
|/ | | | | | | | | * Miners do now verify their own header, not their state. * Changed old putTx and putReceipts to be exported * Moved writing of transactions and receipts out of the block processer in to the chain manager. Closes #1386 * Miner post ChainHeadEvent & ChainEvent. Closes #1388 | ||||
* | core, xeth: core.AddressFromMessage removed => crypto.CreateAddress | Jeffrey Wilcke | 2015-07-02 | 2 | -3/+9 |
| | |||||
* | Use uint64 for block header timestamp | Gustav Simonsson | 2015-06-30 | 1 | -1/+1 |
| | |||||
* | core/types: make blocks immutable | Felix Lange | 2015-06-30 | 1 | -5/+5 |
| | |||||
* | core/types: make transactions immutable | Felix Lange | 2015-06-30 | 1 | -20/+14 |
| | |||||
* | core, miner, xeth: renamed gas methods | obscuren | 2015-06-21 | 1 | -2/+2 |
| | | | | | | * BuyGas => SubGas * RefundGas => AddGas * SetGasPool => SetGasLimit | ||||
* | Merge pull request #1267 from SilentCicero/develop | Jeffrey Wilcke | 2015-06-19 | 1 | -0/+4 |
|\ | | | | | eth_sendRawTransaction JSON RPC | ||||
| * | Added glog messages like Transaction | SilentCicero | 2015-06-17 | 1 | -0/+4 |
| | | |||||
| * | Remove Extra Loggers | SilentCicero | 2015-06-17 | 1 | -4/+1 |
| | | |||||
| * | New DataArgs and eth_sendRawTransaction | SilentCicero | 2015-06-17 | 1 | -1/+4 |
| | | |||||
* | | xeth, tests: fixed api | obscuren | 2015-06-17 | 2 | -5/+5 |
| | | |||||
* | | fixed xeth.gpo = nil bug | zsfelfoldi | 2015-06-15 | 1 | -1/+4 |
| | | |||||
* | | fixed saving receipts | zsfelfoldi | 2015-06-15 | 1 | -10/+16 |
|/ | |||||
* | core, xeth: moved nonce management burden from xeth to txpool | obscuren | 2015-06-10 | 1 | -1/+1 |
| | |||||
* | Differentiate between 0 and unspecified gas/gasprice | Taylor Gerring | 2015-06-09 | 1 | -14/+19 |
| | |||||
* | xeth: use the correct nonce for creating transactions | obscuren | 2015-06-04 | 1 | -3/+2 |
| | |||||
* | core, eth, miner: moved nonce management to tx pool. | obscuren | 2015-06-04 | 1 | -4/+4 |
| | | | | | | | | Removed the managed tx state from the chain manager to the transaction pool where it's much easier to keep track of nonces (and manage them). The transaction pool now also uses the queue and pending txs differently where queued txs are now moved over to the pending queue (i.e. txs ready for processing and propagation). | ||||
* | Add missing err checks on From() (skip RPC for now) | Gustav Simonsson | 2015-06-02 | 1 | -1/+4 |
| | |||||
* | prefix dapp key/value entries in extradb | Bas van Kervel | 2015-05-21 | 1 | -2/+5 |
| | |||||
* | xeth: removed `Value` | obscuren | 2015-05-21 | 1 | -3/+3 |
| | |||||
* | Merge pull request #1049 from zsfelfoldi/receipts | Jeffrey Wilcke | 2015-05-20 | 1 | -0/+18 |
|\ | | | | | Storing tx receipts in extraDb | ||||
| * | Storing tx receipts in extraDb | zsfelfoldi | 2015-05-20 | 1 | -0/+18 |
| | | |||||
* | | multiple contract source for solidity compiler: returns contract array if ↵ | zelig | 2015-05-20 | 1 | -0/+7 |
| | | | | | | | | multiple contracts. fixes #1023 | ||||
* | | solc now in ethereum, fixes solc path setting; setSolc() didnt work | zelig | 2015-05-20 | 1 | -10/+2 |
|/ | |||||
* | Merge pull request #1036 from tgerring/issue884 | Jeffrey Wilcke | 2015-05-19 | 1 | -2/+5 |
|\ | | | | | JSON RPC null field updates | ||||
| * | XEth comment clarification | Taylor Gerring | 2015-05-18 | 1 | -2/+5 |
| | | |||||
* | | xeth: remove nonce on error. Fixes #1026 | obscuren | 2015-05-19 | 1 | -0/+2 |
|/ | |||||
* | xeth: set balance max balance to from in call. Closes #951 | obscuren | 2015-05-16 | 1 | -1/+2 |
| | |||||
* | Check for error on DB fetch of tx | Taylor Gerring | 2015-05-15 | 1 | -1/+5 |
| | |||||
* | Update key store to new spec but keep address field for now | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | | | | * Also fix address types post-rebase | ||||
* | Fix HEX hack in xeth accounts() | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | |||||
* | Fix common.Address / []byte type conversions | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | |||||
* | Correct accounts hex in XETH API | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | |||||
* | Use common.Address type for accounts.Address | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | |||||
* | xeth: use same semantics as block processer for transient calls | obscuren | 2015-05-12 | 1 | -4/+3 |
| | |||||
* | xeth, rpc: implement eth_estimateGas. Closes #930 | obscuren | 2015-05-12 | 1 | -2/+4 |
| | |||||
* | cmd/geth, miner, backend, xeth: Fixed miner threads to be settable | obscuren | 2015-05-11 | 1 | -2/+2 |
| | | | | | Miner threads are now settable through the admin interface (closes #897) and specify 0 CPU worker threads when eth_getWork is called (closes #916) | ||||
* | Only allow doSign to sign hashes, enforced by using the type common.Hash | Daniel A. Nagy | 2015-05-11 | 1 | -4/+4 |
| | |||||
* | Interactive signature creation refactored into separate doSign function. | Daniel A. Nagy | 2015-05-11 | 1 | -20/+20 |
| | |||||
* | Merge branch 'develop' of github.com:ethereum/go-ethereum into develop | Daniel A. Nagy | 2015-05-11 | 1 | -1/+3 |
|\ | | | | | | | | | Conflicts: rpc/jeth.go | ||||
| * | rpc, xeth: fix #881, gracefully handle offline whisper | Péter Szilágyi | 2015-05-11 | 1 | -1/+3 |
| | | |||||
* | | eth_sign added to API for signing arbitrary data. | Daniel A. Nagy | 2015-05-08 | 1 | -7/+7 |
| | | |||||
* | | New API call for signatures. | Daniel A. Nagy | 2015-05-08 | 1 | -0/+21 |
|/ | |||||
* | Merge pull request #833 from ethersphere/frontier/solidity | Jeffrey Wilcke | 2015-05-08 | 1 | -4/+97 |
|\ | | | | | solidity compiler and contract metadocs integration | ||||
| * | solidity compiler and contract metadocs integration | zelig | 2015-05-07 | 1 | -4/+97 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | | xeth: getTransactionByHash, try pool if db fails | obscuren | 2015-05-08 | 1 | -0/+2 |
| | | |||||
* | | xeth: check proper queue for pending transaction filter | obscuren | 2015-05-07 | 1 | -1/+1 |
| | | |||||
* | | xeth, core, event/filter, rpc: new block and transaction filters | obscuren | 2015-05-07 | 1 | -71/+166 |
|/ | |||||
* | xeth, rpc: added nonce setting through RPC and xeth transact | obscuren | 2015-05-07 | 1 | -2/+8 |
| | |||||
* | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-28 | 4 | -111/+227 |
|\ | | | | | | | | | Conflicts: rpc/api.go | ||||
| * | rpc, xeth: finish cleaning up xeth | Péter Szilágyi | 2015-04-28 | 1 | -12/+28 |
| | | |||||
| * | xeth: fix un-decoded whisper RPC topic string bug | Péter Szilágyi | 2015-04-28 | 1 | -2/+16 |
| | | |||||
| * | ui/qt/qwhisper, whisper, xeth: polish topic filter, fix wildcards | Péter Szilágyi | 2015-04-28 | 1 | -1/+1 |
| | | |||||
| * | rpc, ui/qt/qwhisper, whisper, xeth: introduce complex topic filters | Péter Szilágyi | 2015-04-28 | 2 | -3/+3 |
| | | |||||
| * | whisper, xeth/whisper: surface TTL and hash to the API | Péter Szilágyi | 2015-04-28 | 1 | -1/+7 |
| | | |||||
| * | rpc, whisper, xeth: fix RPC message retrieval data race | Péter Szilágyi | 2015-04-28 | 2 | -10/+77 |
| | | |||||
| * | rpc, whisper, xeth: polish whisper RPC interface | Péter Szilágyi | 2015-04-28 | 4 | -103/+116 |
| | | |||||
* | | eth, rpc, xeth: ext_hanhrate => eth_hashrate | obscuren | 2015-04-28 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'develop' of https://github.com/kobigurk/go-ethereum into ↵ | obscuren | 2015-04-28 | 1 | -0/+4 |
|\ \ | |/ |/| | | | kobigurk-develop | ||||
| * | adds eth_hashrate RPC method | Kobi Gurkan | 2015-04-21 | 1 | -0/+4 |
| | | |||||
* | | xeth, core, cmd/utils: Transaction can not be over block gas limit | obscuren | 2015-04-24 | 1 | -0/+4 |
| | | | | | | | | Transactions will be invalidated when the tx.gas_limit > block.gas_limit | ||||
* | | xeth, miner: updated some logging | obscuren | 2015-04-23 | 1 | -1/+3 |
|/ | |||||
* | NatSpec contracts in genesis block, end to end test (unfinished) | zsfelfoldi | 2015-04-20 | 1 | -2/+2 |
| | |||||
* | NatSpec, URL register storage retrieval | zsfelfoldi | 2015-04-20 | 2 | -7/+9 |
| | | | | fixed 2/3 tests | ||||
* | whisper, xeth/whisper, ui/qt/qwhispe: fix API polish breakages | Péter Szilágyi | 2015-04-14 | 1 | -2/+2 |
| | |||||
* | xeth/whisper, ui/qt/qwhisper: fix API update breaks. | Péter Szilágyi | 2015-04-10 | 1 | -2/+2 |
| | |||||
* | cmd/mist: fix #640, panic converting nil recipient to hex. | Péter Szilágyi | 2015-04-10 | 1 | -2/+5 |
| | | | | | | Fetching the recipient address from a transaction was changed to return nil instead of a zero-address, but this code path was not updated, so whenever a contract was created, a nil panic occured. | ||||
* | Updated xeth logger | obscuren | 2015-04-09 | 1 | -3/+3 |
| | |||||
* | Removed from as a requirement and changed | obscuren | 2015-04-09 | 1 | -1/+13 |
| | | | | | | | | | Removed the from as a requiremet from the RPC eth_call. Xeth#Call now also default values to: 1. Supplied account 2. First account if any 3. No managed account => 000000..00 | ||||
* | Make sure mist runs ... :-) | obscuren | 2015-04-09 | 1 | -6/+10 |
| | |||||
* | Changed how logs are being recorded | obscuren | 2015-04-08 | 1 | -3/+3 |
| | | | | | | | 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. | ||||
* | Fixed pending states | obscuren | 2015-04-07 | 1 | -9/+19 |
| | |||||
* | Merge pull request #626 from tgerring/rpcfabian | Jeffrey Wilcke | 2015-04-03 | 1 | -2/+4 |
|\ | | | | | RPC Tests updates | ||||
| * | Fix RLP decoding of tx metadata | Taylor Gerring | 2015-04-02 | 1 | -2/+4 |
| | | |||||
* | | Merge pull request #619 from tgerring/rpcfabian | Jeffrey Wilcke | 2015-04-02 | 1 | -0/+4 |
|\| | | | | | RPC Fabian fixes | ||||
| * | Merge branch 'develop' into rpcfabian | Taylor Gerring | 2015-04-02 | 1 | -6/+4 |
| |\ | |||||
| * | | Format code as hexdata | Taylor Gerring | 2015-04-02 | 1 | -0/+4 |
| | | | |||||
* | | | Default gas | obscuren | 2015-04-02 | 1 | -4/+4 |
| | | | |||||
* | | | Moved to function | obscuren | 2015-04-02 | 1 | -3/+3 |
| |/ |/| | |||||
* | | Fixes for balance | obscuren | 2015-04-02 | 1 | -1/+1 |
| | | |||||
* | | Changed getters on account objects. Closes #610 | obscuren | 2015-04-02 | 1 | -6/+4 |
|/ | | | | | | | * GetCode * GetNonce * GetStorage * GetBalance | ||||
* | Make inner size before assinging. Closes #615 | Taylor Gerring | 2015-04-01 | 1 | -0/+1 |
| | |||||
* | Merge pull request #616 from bas-vk/develop | Jeffrey Wilcke | 2015-04-01 | 1 | -6/+7 |
|\ | | | | | Frontier/513 | ||||
| * | changed big.Int instantiation | Bas van Kervel | 2015-04-01 | 1 | -2/+2 |
| | | |||||
| * | Frontier/513 | Bas van Kervel | 2015-04-01 | 1 | -6/+7 |
| | | |||||
* | | txMeta storage as struct | Taylor Gerring | 2015-04-01 | 1 | -13/+14 |
| | | |||||
* | | Store and retrieve tx context metadata #608 | Taylor Gerring | 2015-04-01 | 1 | -3/+20 |
|/ | | | | | Improving this in the future will allow for cleaning up a bit of legacy code. | ||||
* | Decouple core from rpc | Taylor Gerring | 2015-03-27 | 1 | -4/+32 |
| | |||||
* | Merge branch 'develop' into rpcargs | Taylor Gerring | 2015-03-27 | 1 | -2/+12 |
|\ | |||||
| * | Merge pull request #580 from ethersphere/frontier/cli-key | Jeffrey Wilcke | 2015-03-27 | 1 | -2/+2 |
| |\ | | | | | | | settable etherbase | ||||
| | * | settable etherbase | zelig | 2015-03-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | - etherbase flag for block reward destination - coinbase => etherbase - CLI- eth Config -> eth, xeth -> RPC / Miner - use primary instead of coinbase as the unlock magic wildcard - accounts: firstAddr/Coinbase -> Primary | ||||
| * | | Use ExtraDB for storage. Fixes #577 | Taylor Gerring | 2015-03-27 | 1 | -0/+10 |
| |/ | |||||
* | | More explicit formatting for protocol version | Taylor Gerring | 2015-03-27 | 1 | -3/+3 |
| | | |||||
* | | Undo XEth changes | Taylor Gerring | 2015-03-27 | 1 | -5/+2 |
| | | |||||
* | | GetBlockByHashArgs | Taylor Gerring | 2015-03-26 | 1 | -2/+5 |
|/ | |||||
* | Don't return empty block for "pending" #568 | Taylor Gerring | 2015-03-26 | 1 | -6/+2 |
| | |||||
* | Fixed storage. Closes #516 | obscuren | 2015-03-26 | 2 | -3/+3 |
| | |||||
* | Improve protocol version reporting | Taylor Gerring | 2015-03-25 | 1 | -2/+10 |
| | |||||
* | WithState -> withState | Taylor Gerring | 2015-03-25 | 1 | -2/+3 |
| | |||||
* | DRY up height logic | Taylor Gerring | 2015-03-25 | 1 | -31/+20 |
| | |||||
* | Shuffle | Taylor Gerring | 2015-03-25 | 1 | -5/+6 |
| | |||||
* | Move Frontend interface to separate file | Taylor Gerring | 2015-03-24 | 2 | -27/+32 |
| | |||||
* | Update internal calls to use CurrentBlock() | Taylor Gerring | 2015-03-24 | 1 | -3/+3 |
| | |||||
* | Don't expose backend directly | Taylor Gerring | 2015-03-24 | 1 | -6/+17 |
| | |||||
* | Remove redundant fields | Taylor Gerring | 2015-03-24 | 1 | -33/+24 |
| | |||||
* | rename eth to backend | Taylor Gerring | 2015-03-24 | 2 | -17/+17 |
| | |||||
* | Backend no longer needed to resolve import cycle | Taylor Gerring | 2015-03-24 | 1 | -30/+4 |
| | |||||
* | Implement RPC net_version | Taylor Gerring | 2015-03-24 | 1 | -1/+3 |
| | |||||
* | moved state and vm to core | obscuren | 2015-03-23 | 3 | -3/+3 |
| | |||||
* | "pending" convention should be -2 instead of 0 | Taylor Gerring | 2015-03-23 | 1 | -1/+14 |
| | |||||
* | Move RemoteAgent to miner pkg | Taylor Gerring | 2015-03-23 | 2 | -85/+3 |
| | |||||
* | Rename Agent to RemoteAgent | Taylor Gerring | 2015-03-23 | 2 | -14/+14 |
| | |||||
* | Add DAG seed hash and difficulty to GetWork | Taylor Gerring | 2015-03-23 | 1 | -5/+6 |
| | |||||
* | Move remote mining agent to XEth | Taylor Gerring | 2015-03-23 | 2 | -0/+89 |
| | |||||
* | Get work / submit work partially implemented. | obscuren | 2015-03-22 | 1 | -0/+2 |
| | | | | | * WIP missing arguments for submitting new work * GetWork **done** | ||||
* | Removed some comments | obscuren | 2015-03-21 | 1 | -2/+1 |
| | |||||
* | merge | obscuren | 2015-03-20 | 1 | -16/+308 |
|\ | |||||
| * | Merge branch 'rpcxeth' into rpcfrontier | Taylor Gerring | 2015-03-20 | 1 | -16/+308 |
| |\ | | | | | | | | | | | | | Conflicts: rpc/api.go | ||||
| | * | Move Account register to xeth | Taylor Gerring | 2015-03-20 | 1 | -0/+36 |
| | | | |||||
| | * | Move transact gas check to XEth | Taylor Gerring | 2015-03-20 | 1 | -4/+14 |
| | | | |||||
| | * | Reorg for clarity | Taylor Gerring | 2015-03-20 | 1 | -7/+29 |
| | | | |||||
| | * | Move gas defaults to XEth | Taylor Gerring | 2015-03-20 | 1 | -5/+5 |
| | | | |||||
| | * | Move stateAt func to XEth | Taylor Gerring | 2015-03-20 | 1 | -0/+18 |
| | | | |||||
| | * | Reorg filter logic to XEth | Taylor Gerring | 2015-03-20 | 1 | -1/+204 |
| |/ | |||||
* | | merge | obscuren | 2015-03-19 | 3 | -30/+26 |
|\| | |||||
| * | Merge pull request #498 from maran/feature/drytoHex | Jeffrey Wilcke | 2015-03-18 | 3 | -51/+47 |
| |\ | | | | | | | DRY up the use of toHex in the project and move it to common | ||||
| | * | DRY up the use of toHex in the project and move it to common | Maran | 2015-03-16 | 3 | -52/+48 |
| | | | |||||
* | | | conversions. -compilable- | obscuren | 2015-03-18 | 2 | -30/+26 |
| | | | |||||
* | | | conversions | obscuren | 2015-03-18 | 2 | -22/+22 |
|/ / | |||||
* | | Comment out whisper remove identity stubs | Taylor Gerring | 2015-03-17 | 1 | -3/+3 |
| | | |||||
* | | Initial support to remove Whisper identities per #491 | Taylor Gerring | 2015-03-17 | 1 | -1/+5 |
|/ | |||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 4 | -54/+54 |
| | |||||
* | DRY up the use of fromHex and put it in ethutil | Maran | 2015-03-14 | 4 | -33/+28 |
| | |||||
* | Merge branch 'rpcfrontier' into develop | obscuren | 2015-03-13 | 1 | -0/+1 |
|\ | |||||
| * | Add web3_clientVersion | Taylor Gerring | 2015-03-13 | 1 | -0/+1 |
| | | |||||
* | | Implemented managed state | obscuren | 2015-03-13 | 1 | -2/+2 |
| | | | | | | | | * Reimplemented nonce management for known accounts. | ||||
* | | Implemented a manage state for keeping track of nonces | obscuren | 2015-03-13 | 1 | -1/+1 |
|/ | |||||
* | Get transaction implemented | obscuren | 2015-03-12 | 1 | -4/+9 |
| | | | | | * Added a GetTransaction to XEth * Implemented the `eth_getTransactionByHash` RPC method | ||||
* | miner: provide coinbase when starting the miner | Felix Lange | 2015-03-12 | 1 | -12/+11 |
| | | | | | | | | | | This avoids having to query the coinbase when creating the miner, which in turn eliminates the dreaded startup error when no accounts are set up. Later, this will also allow us to simply restart the miner when the user picks a different coinbase. This causes a lot of changes in other packages. These are included in this commit because they're impossible to separate. | ||||
* | Lowered default gas price and increased default gas limit | obscuren | 2015-03-12 | 1 | -7/+13 |
| | |||||
* | Default block number changes | obscuren | 2015-03-12 | 1 | -1/+1 |
| | |||||
* | Merge branch 'develop' into rpcfrontier | obscuren | 2015-03-11 | 1 | -52/+111 |
|\ | | | | | | | | | | | Conflicts: rpc/api.go rpc/args.go | ||||
| * | xeth: fix signing transaction after unlock | Felix Lange | 2015-03-10 | 1 | -1/+1 |
| | | |||||
| * | xeth: use Frontend interface to unlock accounts | Felix Lange | 2015-03-10 | 1 | -23/+55 |
| | | | | | | | | | | The interface has moved to package xeth because that's where it is actually used. | ||||
| * | Merge ethereum/poc-9 into accounts-integration | Felix Lange | 2015-03-10 | 2 | -3/+17 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cmd/utils/cmd.go cmd/utils/flags.go core/manager.go eth/backend.go rpc/http/server.go xeth/xeth.go | ||||
| * | | xeth: don't sign transactions for tx call | Felix Lange | 2015-03-10 | 1 | -26/+31 |
| | | | | | | | | | | | | | | | This should make calls faster and removes interaction with account manager. | ||||
| * | | accounts: AccountManager -> Manager | Felix Lange | 2015-03-08 | 1 | -2/+2 |
| | | | |||||
| * | | accounts: use pointers consistently | Felix Lange | 2015-03-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Account is now always a non-pointer. This will be important once the manager starts remembering accounts. AccountManager is now always a pointer because it contains locks and locks cannot be copied. | ||||
| * | | accounts, core, eth, xeth: use account manager for everything | Felix Lange | 2015-03-07 | 1 | -6/+12 |
| | | | | | | | | | | | | | | | The account manager is now responsible for picking the default account and the coinbase. | ||||
| * | | Integrate eth_accounts and eth_transact to use new account manager | Gustav Simonsson | 2015-03-06 | 1 | -12/+28 |
| | | | | | | | | | | | | | | | | | | | | | * Add from to eth_transact / xeth.Transact and add static pass in lieu of integrating with native Mist window for user passphrase entry * Make eth_accounts return AccountManager.Accounts() * Add a Generate Key menu item in Mist | ||||
* | | | Update response types | Taylor Gerring | 2015-03-11 | 1 | -0/+15 |
| | | | |||||
* | | | wip | obscuren | 2015-03-10 | 2 | -11/+17 |
|\ \ \ | | |/ | |/| | |||||
| * | | Added ui.Interface to xeth | obscuren | 2015-03-09 | 1 | -1/+14 |
| | | | |||||
| * | | Separated block db from state db. Partial fix for #416 | obscuren | 2015-03-07 | 2 | -2/+3 |
| |/ | |||||
| * | GetOrNew for accessors. Fixes #404 | obscuren | 2015-03-02 | 1 | -8/+0 |
| | | |||||
* | | Undo client_version changes | Taylor Gerring | 2015-03-10 | 1 | -5/+0 |
| | | |||||
* | | Increased args test coverage | Taylor Gerring | 2015-03-06 | 1 | -4/+8 |
| | | |||||
* | | Refactor & cleanup | Taylor Gerring | 2015-03-06 | 1 | -8/+4 |
| | | |||||
* | | Add client_version RPC message | Taylor Gerring | 2015-03-04 | 1 | -0/+5 |
|/ | |||||
* | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-02-26 | 1 | -0/+33 |
|\ | | | | | | | | | Conflicts: accounts/account_manager.go | ||||
* | | wip | obscuren | 2015-02-26 | 2 | -36/+18 |
|/ | |||||
* | Properly uninstall filters. Mining issue fixed #closes #365 | obscuren | 2015-02-23 | 1 | -5/+5 |
| | | | | | | * Added an additional tx state which is used to get the current nonce * Refresh transient state each time a new canonical block is found * Properly uninstall filters. Fixes a possible crash in RPC | ||||
* | Added eth_logs & fixed issue with manual log filtering | obscuren | 2015-02-22 | 1 | -7/+5 |
| | | | | | | * Implemented `eth_logs` * Fixed issue with `filter.Find()` where logs were appended to an incorrect, non-returned slice resulting in no logs found | ||||
* | fixed merge | obscuren | 2015-02-20 | 1 | -0/+11 |
|\ | |||||
| * | Add setMining RPC method | Taylor Gerring | 2015-02-20 | 1 | -0/+11 |
| | | |||||
* | | Removed exported fields from state object and added proper set/getters | obscuren | 2015-02-20 | 1 | -3/+3 |
| | | |||||
* | | Optimisations and fixed a couple of DDOS issues in the miner | obscuren | 2015-02-20 | 1 | -13/+16 |
| | | |||||
* | | WIP QT Clipboard | obscuren | 2015-02-19 | 1 | -1/+1 |
|/ | |||||
* | Changed to ChainEvent and fixed a nil pointer in transact | obscuren | 2015-02-18 | 1 | -2/+1 |
| | |||||
* | "centralised" mining to backend. Closes #323 | obscuren | 2015-02-17 | 1 | -5/+9 |
| | |||||
* | Merge branch 'develop' into miner | obscuren | 2015-02-14 | 2 | -41/+1 |
|\ | |||||
| * | wip | obscuren | 2015-02-13 | 2 | -2/+1 |
| |\ | |||||
| | * | cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API | Felix Lange | 2015-02-06 | 2 | -2/+1 |
| | | | |||||
| * | | removed messages | obscuren | 2015-02-13 | 2 | -39/+0 |
| | | | |||||
* | | | Merge branch 'develop' into miner | obscuren | 2015-02-12 | 1 | -1/+3 |
|\| | | |||||
| * | | Fixed "to" field | obscuren | 2015-02-10 | 1 | -1/+3 |
| | | | |||||
* | | | Basic structure miner | obscuren | 2015-02-10 | 1 | -1/+0 |
|/ / | |||||
* / | API changed to use Pubkey only. Reflected that change in the rest of the api | obscuren | 2015-02-06 | 1 | -1/+1 |
|/ | |||||
* | WIP miner | obscuren | 2015-02-04 | 1 | -5/+2 |
| | |||||
* | Fixed whisper "to" filtering. Closes #283 | obscuren | 2015-02-03 | 1 | -1/+3 |
| | |||||
* | Added missing whisper timestamp. Closes #284 | obscuren | 2015-02-03 | 1 | -2/+2 |
| | |||||
* | Removed some VMEnv & Added VmType() to vm.Environment | obscuren | 2015-02-01 | 2 | -82/+14 |
| | |||||
* | Removed debug log | obscuren | 2015-01-31 | 1 | -2/+0 |
| | |||||
* | Added whisper interface for xeth, added examples, updated RPC | obscuren | 2015-01-30 | 2 | -5/+123 |
| | | | | | * Added RPC methods for whisper * Added whisper example | ||||
* | Fixed issue with Storage() | obscuren | 2015-01-30 | 1 | -1/+6 |
| | | | | | | * Storage() returned encoded values. They are now decode prior to hexing * Removed old code from state object * Updated coin | ||||
* | More dapp samples | obscuren | 2015-01-30 | 2 | -5/+16 |
| | | | | | * Info DApp, coin DApp * Additional rpc methods | ||||
* | Reimplemented message filters for rpc calls | obscuren | 2015-01-29 | 1 | -6/+15 |
| | |||||
* | Added RPC "Call" for JS calls to contracts | obscuren | 2015-01-29 | 1 | -0/+28 |
| | |||||
* | removed key while in the process of moving to the new key storage | obscuren | 2015-01-29 | 1 | -13/+55 |
| | |||||
* | further cleaned up xeth interface | obscuren | 2015-01-29 | 4 | -97/+87 |
| | |||||
* | clean up of xeth | obscuren | 2015-01-29 | 3 | -249/+210 |
| | |||||
* | moving to a better xeth | obscuren | 2015-01-29 | 4 | -306/+77 |
| | |||||
* | Implemented filter for ws + fixes | obscuren | 2015-01-10 | 2 | -67/+69 |
| | | | | | | | * proper 0xhex * filters fixed * start of filter manager * accounts for ws. Closes #246 | ||||
* | Refactored ethutil.Config.Db out | obscuren | 2015-01-07 | 3 | -5/+5 |
| | |||||
* | Fixed tests | obscuren | 2015-01-06 | 1 | -2/+2 |
| | |||||
* | Fixed peer window. Minor tweaks and fixes | obscuren | 2015-01-06 | 1 | -26/+15 |
| | |||||
* | BlockManager => BlockProcessor | obscuren | 2015-01-05 | 1 | -8/+8 |
| | |||||
* | Changed prev_hash to block_hash, state transition now uses vm env | obscuren | 2015-01-04 | 2 | -3/+10 |
| | | | | | | | * PREVHASH => BLOCKHASH( N ) * State transition object uses VMEnv as it's query interface * Updated vm.Enviroment has GetHash( n ) for BLOCKHASH instruction * Added GetHash to xeth, core, utils & test environments |