- Nov 12, 2019
-
-
Jaynti Kanani authored
-
- Jul 14, 2019
-
-
Jaynti Kanani authored
-
- Mar 06, 2019
-
-
Péter Szilágyi authored
-
- Feb 27, 2019
-
-
Samuel Marks authored
-
- Feb 14, 2019
-
-
Matthew Halpern authored
-
- Dec 20, 2018
-
-
Jordan Krage authored
* core: sanitize more TxPoolConfig fields * core: fix TestTransactionPendingMinimumAllowance
-
- May 23, 2018
-
-
Ryan Schneider authored
* core: use a wrapped `map` and `sync.RWMutex` for `TxPool.all` to remove contention in `TxPool.Get`. * core: Remove redundant `txLookup.Find` and improve comments on txLookup methods.
-
- May 18, 2018
-
-
Péter Szilágyi authored
-
Gary Rong authored
-
- May 09, 2018
-
-
Gary Rong authored
* all: get rid of error when create mdb * core: clean up variables definition * all: inline mdb definition
-
- May 02, 2018
-
-
Crispin Flowerday authored
This fixes an issue where local transactions are discarded as underpriced when the pool and queue are full.
-
- Apr 12, 2018
-
-
Péter Szilágyi authored
-
- Mar 07, 2018
-
-
Péter Szilágyi authored
-
- Feb 05, 2018
-
-
Péter Szilágyi authored
This commit reduces database I/O by not writing every state trie to disk.
-
- Jan 03, 2018
-
-
Péter Szilágyi authored
-
- Dec 20, 2017
-
-
Péter Szilágyi authored
-
- Nov 24, 2017
-
-
Ricardo Domingos authored
* console: fix typo in comment * contracts/release: fix typo in comment * core: fix typo in comment * eth: fix typo in comment * miner: fix typo in comment
-
- Nov 08, 2017
-
-
ferhat elmas authored
-
- Oct 30, 2017
-
-
Jim McDonald authored
* core: allow price bump at threshold * core: test changes to allow price bump at threshold * core: reinstate tx replacement test underneath threshold * core: minor test failure message cleanups
-
- Oct 20, 2017
-
-
Péter Szilágyi authored
-
- Sep 05, 2017
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
- Sep 04, 2017
-
-
Martin Holst Swende authored
* core: Fix flaw where underpriced locals were removed * core: minor code cleanups for tx pool tests
-
- Aug 18, 2017
-
-
Miya Chen authored
-
- Aug 08, 2017
-
-
Péter Szilágyi authored
-
- Aug 07, 2017
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
- Jul 28, 2017
-
-
Péter Szilágyi authored
* core: reduce txpool event loop goroutines and sync structs * cmd, core, eth: journal local transactions to disk * core: journal replacement pending transactions too * core: separate transaction journal from pool
-
- Jul 06, 2017
-
-
Péter Szilágyi authored
The commit reworks the transaction pool queue limitation tests to cater for testing local accounts, also testing the nolocal flag. In addition, it also fixes a panic if local transactions exceeded the global queue allowance (no accounts left to drop from) and also fixes queue eviction to operate on all accounts, not just the one being updated.
-
- Jul 05, 2017
-
-
Péter Szilágyi authored
-
- Jun 27, 2017
-
-
Felix Lange authored
With this commit, core/state's access to the underlying key/value database is mediated through an interface. Database errors are tracked in StateDB and returned by CommitTo or the new Error method. Motivation for this change: We can remove the light client's duplicated copy of core/state. The light client now supports node iteration, so tracing and storage enumeration can work with the light client (not implemented in this commit).
-
- Jun 22, 2017
-
-
Péter Szilágyi authored
-
Martin Holst Swende authored
-
- May 31, 2017
-
-
Péter Szilágyi authored
-
- May 29, 2017
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
- May 16, 2017
-
-
Péter Szilágyi authored
-
- Mar 23, 2017
-
-
Felix Lange authored
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.
-
- Feb 26, 2017
-
-
Felix Lange authored
* 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
-
- Jan 05, 2017
-
-
Felix Lange authored
-