- 21 6月, 2017 1 次提交
-
-
由 Bas van Kervel 提交于
-
- 15 6月, 2017 1 次提交
-
-
由 Bas van Kervel 提交于
-
- 29 5月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 25 5月, 2017 1 次提交
-
-
由 Bas van Kervel 提交于
-
- 17 5月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 10 5月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 04 5月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 03 5月, 2017 2 次提交
-
-
由 Bas van Kervel 提交于
-
由 Péter Szilágyi 提交于
-
- 28 4月, 2017 2 次提交
-
-
由 Bas van Kervel 提交于
-
由 gluk256 提交于
-
- 25 4月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 20 4月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 13 4月, 2017 1 次提交
-
-
由 bas-vk 提交于
Currently http cors and websocket origins are a comma separated string in the config object. These are replaced with string arrays that are more expressive in case of a config file.
-
- 12 4月, 2017 1 次提交
-
-
由 Felix Lange 提交于
* p2p/discover, p2p/discv5: add marshaling methods to Node * p2p/netutil: make Netlist decodable from TOML * common/math: encode nil HexOrDecimal256 as 0x0 * cmd/geth: add --config file flag * cmd/geth: add missing license header * eth: prettify Config again, fix tests * eth: use gasprice.Config instead of duplicating its fields * eth/gasprice: hide nil default from dumpconfig output * cmd/geth: hide genesis block in dumpconfig output * node: make tests compile * console: fix tests * cmd/geth: make TOML keys look exactly like Go struct fields * p2p: use discovery by default This makes the zero Config slightly more useful. It also fixes package node tests because Node detects reuse of the datadir through the NodeDatabase. * cmd/geth: make ethstats URL settable through config file * cmd/faucet: fix configuration * cmd/geth: dedup attach tests * eth: add comment for DefaultConfig * eth: pass downloader.SyncMode in Config This removes the FastSync, LightSync flags in favour of a more general SyncMode flag. * cmd/utils: remove jitvm flags * cmd/utils: make mutually exclusive flag error prettier It now reads: Fatal: flags --dev, --testnet can't be used at the same time * p2p: fix typo * node: add DefaultConfig, use it for geth * mobile: add missing NoDiscovery option * cmd/utils: drop MakeNode This exposed a couple of places that needed to be updated to use node.DefaultConfig. * node: fix typo * eth: make fast sync the default mode * cmd/utils: remove IPCApiFlag (unused) * node: remove default IPC path Set it in the frontends instead. * cmd/geth: add --syncmode * cmd/utils: make --ipcdisable and --ipcpath mutually exclusive * cmd/utils: don't enable WS, HTTP when setting addr * cmd/utils: fix --identity
-
- 06 4月, 2017 1 次提交
-
-
由 Felföldi Zsolt 提交于
* cmd, les, eth, eth/gasprice: using new gas price oracle * eth/gasprice: renamed source file * eth/gasprice: added security checks for gpo params * eth/gasprice: fixed naming issues * eth/gasprice: max limit, maxEmpty
-
- 05 4月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
This commit adds pluggable consensus engines to go-ethereum. In short, it introduces a generic consensus interface, and refactors the entire codebase to use this interface.
-
- 23 3月, 2017 1 次提交
-
-
由 Felix Lange 提交于
This commit solves several issues concerning the genesis block: * Genesis/ChainConfig loading was handled by cmd/geth code. This left library users in the cold. They could specify a JSON-encoded string and overwrite the config, but didn't get any of the additional checks performed by geth. * Decoding and writing of genesis JSON was conflated in WriteGenesisBlock. This made it a lot harder to embed the genesis block into the forthcoming config file loader. This commit changes things so there is a single Genesis type that represents genesis blocks. All uses of Write*Genesis* are changed to use the new type instead. * If the chain config supplied by the user was incompatible with the current chain (i.e. the chain had already advanced beyond a scheduled fork), it got overwritten. This is not an issue in practice because previous forks have always had the highest total difficulty. It might matter in the future though. The new code reverts the local chain to the point of the fork when upgrading configuration. The change to genesis block data removes compression library dependencies from package core.
-
- 09 3月, 2017 3 次提交
-
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
- 08 3月, 2017 1 次提交
-
-
由 Martin Holst Swende 提交于
* main,import: Add --nocompaction flag + multiple import files * geth/import: documentation * import: Added more info to err message * fix :P
-
- 02 3月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
* accounts, cmd, eth, ethdb: port logs over to new system * ethdb: drop concept of cache distribution between dbs * eth: fix some log nitpicks to make them nicer
-
- 01 3月, 2017 1 次提交
-
-
由 Jeffrey Wilcke 提交于
-
- 27 2月, 2017 1 次提交
-
-
由 Felix Lange 提交于
* common: remove CurrencyToString Move denomination values to params instead. * common: delete dead code * common: move big integer operations to common/math This commit consolidates all big integer operations into common/math and adds tests and documentation. There should be no change in semantics for BigPow, BigMin, BigMax, S256, U256, Exp and their behaviour is now locked in by tests. The BigD, BytesToBig and Bytes2Big functions don't provide additional value, all uses are replaced by new(big.Int).SetBytes(). BigToBytes is now called PaddedBigBytes, its minimum output size parameter is now specified as the number of bytes instead of bits. The single use of this function is in the EVM's MSTORE instruction. Big and String2Big are replaced by ParseBig, which is slightly stricter. It previously accepted leading zeros for hexadecimal inputs but treated decimal inputs as octal if a leading zero digit was present. ParseUint64 is used in places where String2Big was used to decode a uint64. The new functions MustParseBig and MustParseUint64 are now used in many places where parsing errors were previously ignored. * common: delete unused big integer variables * accounts/abi: replace uses of BytesToBig with use of encoding/binary * common: remove BytesToBig * common: remove Bytes2Big * common: remove BigTrue * cmd/utils: add BigFlag and use it for error-checked integer flags While here, remove environment variable processing for DirectoryFlag because we don't use it. * core: add missing error checks in genesis block parser * common: remove String2Big * cmd/evm: use utils.BigFlag * common/math: check for 256 bit overflow in ParseBig This is supposed to prevent silent overflow/truncation of values in the genesis block JSON. Without this check, a genesis block that set a balance larger than 256 bits would lead to weird behaviour in the VM. * cmd/utils: fixup import
-
- 23 2月, 2017 2 次提交
-
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
- 13 2月, 2017 2 次提交
-
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
- 27 1月, 2017 1 次提交
-
-
由 Zsolt Felfoldi 提交于
-
- 17 1月, 2017 2 次提交
-
-
由 Nick Johnson 提交于
-
由 Bas van Kervel 提交于
-
- 12 1月, 2017 1 次提交
-
-
由 Bas van Kervel 提交于
-
- 11 1月, 2017 1 次提交
-
-
由 Felix Lange 提交于
-
- 06 1月, 2017 1 次提交
-
-
由 Felix Lange 提交于
params is imported by leaf-ish library packages and should not pull in the p2p stack.
-
- 05 1月, 2017 2 次提交
-
-
由 Péter Szilágyi 提交于
-
由 Bas van Kervel 提交于
-
- 04 1月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 29 11月, 2016 2 次提交
-
-
由 Luca Zeug 提交于
-
由 Péter Szilágyi 提交于
-