- 01 11月, 2016 1 次提交
-
-
由 Martin Holst Swende 提交于
* core: Add metrics collection for transaction events; replace/discard for pending and future queues, as well as invalid transactions * core: change namespace for txpool metrics * core: define more metrics (not yet used) * core: implement more tx metrics for when transactions are dropped * core: minor formatting tweeks (will squash later) * core: remove superfluous meter, fix missing pending nofunds * core, metrics: switch txpool meters to counters
-
- 14 10月, 2016 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 10 10月, 2016 1 次提交
-
-
由 Felix Lange 提交于
-
- 06 10月, 2016 1 次提交
-
-
由 Felix Lange 提交于
This commit replaces the deep-copy based state revert mechanism with a linear complexity journal. This commit also hides several internal StateDB methods to limit the number of ways in which calling code can use the journal incorrectly. As usual consultation and bug fixes to the initial implementation were provided by @karalabe, @obscuren and @Arachnid. Thank you!
-
- 02 9月, 2016 4 次提交
-
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
- 03 6月, 2016 1 次提交
-
-
由 Felix Lange 提交于
Fixes #2650
-
- 09 5月, 2016 1 次提交
-
-
由 Felix Lange 提交于
Shutting down geth prints hundreds of annoying error messages in some cases. The errors appear because the Stop method of eth.ProtocolManager, miner.Miner and core.TxPool is asynchronous. Left over peer sessions generate events which are processed after Stop even though the database has already been closed. The fix is to make Stop synchronous using sync.WaitGroup. For eth.ProtocolManager, in order to make use of WaitGroup safe, we need a way to stop new peer sessions from being added while waiting on the WaitGroup. The eth protocol Run function now selects on a signaling channel and adds to the WaitGroup only if ProtocolManager is not shutting down. For miner.worker and core.TxPool the number of goroutines is static, WaitGroup can be used in the usual way without additional synchronisation.
-
- 01 4月, 2016 1 次提交
-
-
由 Jeffrey Wilcke 提交于
Added chain configuration options and write out during genesis database insertion. If no "config" was found, nothing is written to the database. Configurations are written on a per genesis base. This means that any chain (which is identified by it's genesis hash) can have their own chain settings.
-
- 16 3月, 2016 1 次提交
-
-
由 Leif Jurvetson 提交于
-
- 18 2月, 2016 2 次提交
-
-
由 Jeffrey Wilcke 提交于
* Removed some strange code that didn't apply state reverting properly * Refactored code setting from vm & state transition to the executioner * Updated tests
-
由 Gustav Simonsson 提交于
* change gas cost for contract creating txs * invalidate signature with s value greater than secp256k1 N / 2 * OOG contract creation if not enough gas to store code * new difficulty adjustment algorithm * new DELEGATECALL op code
-
- 01 2月, 2016 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 22 1月, 2016 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 05 1月, 2016 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 16 12月, 2015 1 次提交
-
-
由 zsfelfoldi 提交于
-
- 16 10月, 2015 1 次提交
-
-
由 Gustav Simonsson 提交于
-
- 12 10月, 2015 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 22 9月, 2015 1 次提交
-
-
由 Jeffrey Wilcke 提交于
Added a `Difference` method to `types.Transactions` which sets the receiver to the difference of a to b (NOTE: not a **and** b). Transaction pool subscribes to RemovedTransactionEvent adding back to those potential missing from the chain. When a chain re-org occurs remove any transactions that were removed from the canonical chain during the re-org as well as the receipts that were generated in the process. Closes #1746
-
- 18 9月, 2015 1 次提交
-
-
由 Jeffrey Wilcke 提交于
When the transaction state recovery kicked in it assigned the last (incorrect) nonce to the pending state which caused transactions with the same nonce to occur. Added test for nonce recovery
-
- 02 8月, 2015 1 次提交
-
-
由 Jeffrey Wilcke 提交于
When a user runs a freshly setup geth w/o a database initialised the default genesis block is decoded and inserted in to the database.
-
- 28 7月, 2015 1 次提交
-
-
由 Bas van Kervel 提交于
bugfix, pending transaction was resend with new gas price/limit but not removed from transaction pool
-
- 24 7月, 2015 1 次提交
-
-
由 Felix Lange 提交于
I forgot to update one instance of "go-ethereum" in commit 3f047be5.
-
- 23 7月, 2015 1 次提交
-
-
由 Felix Lange 提交于
All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
-
- 07 7月, 2015 1 次提交
-
-
由 Felix Lange 提交于
-
- 30 6月, 2015 4 次提交
-
-
由 Jeffrey Wilcke 提交于
Changed the transaction pool to listen for ChainHeadEvent when resetting the state instead of ChainEvent. It makes very little sense to burst through transactions while we are catching up (e.g., have more than one block to process)
-
由 Jeffrey Wilcke 提交于
* Reduced maxQueue count * Added proper deletion past maxQueue limit * Added cheap stats method to txpool queueCheck was called for **every** transaction instead of: 1. add all txs 2. check queue previously 1. add txs[i] 2. check queue 3. if i < len(txs) goto 1.
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
-
- 22 6月, 2015 1 次提交
-
-
由 Bas van Kervel 提交于
-
- 17 6月, 2015 1 次提交
-
-
由 obscuren 提交于
Removed full tx validation during state transitions
-
- 15 6月, 2015 3 次提交
- 10 6月, 2015 3 次提交
- 09 6月, 2015 1 次提交
-
-
由 Felix Lange 提交于
-