- Mar 02, 2017
-
-
Péter Szilágyi authored
* 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
-
Péter Szilágyi authored
core/evm, core/vm: improved evm trace output
-
- Mar 01, 2017
-
-
Valentin Wüstholz authored
-
Jeffrey Wilcke authored
Added the ability to directly compile and run ethereum assembly using the evm utility: `evm run <file>`. This is equivalant to `evm compile <file> | evm run`.
-
Jeffrey Wilcke authored
* Improved the standard evm tracer output and renamed it to WriteTrace which now takes an io.Writer to write the logs to. * Added WriteLogs which writes logs to the given writer in a readable format. * evm utility now also prints logs generated during the execution.
-
Jeffrey Wilcke authored
The evm compile command implements a simple assembly language that compiles to EVM bytecode.
-
- Feb 28, 2017
-
-
Jeffrey Wilcke authored
-
Péter Szilágyi authored
errs: kill it with fire
-
Péter Szilágyi authored
-
Péter Szilágyi authored
Logger updates
-
Felix Lange authored
* common/math: optimize PaddedBigBytes, use it more name old time/op new time/op delta PaddedBigBytes-8 71.1ns ± 5% 46.1ns ± 1% -35.15% (p=0.000 n=20+19) name old alloc/op new alloc/op delta PaddedBigBytes-8 48.0B ± 0% 32.0B ± 0% -33.33% (p=0.000 n=20+20) * all: unify big.Int zero checks Various checks were in use. This commit replaces them all with Int.Sign, which is cheaper and less code. eg templates: func before(x *big.Int) bool { return x.BitLen() == 0 } func after(x *big.Int) bool { return x.Sign() == 0 } func before(x *big.Int) bool { return x.BitLen() > 0 } func after(x *big.Int) bool { return x.Sign() != 0 } func before(x *big.Int) int { return x.Cmp(common.Big0) } func after(x *big.Int) int { return x.Sign() } * common/math, crypto/secp256k1: make ReadBits public in package math
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
core, eth: drop database block splitting upgrader
-
Péter Szilágyi authored
-
Jamie Pitts authored
* Updated the list of go bootnodes: replaced BR with a new one, added US-WEST and AU. * Updated bootnodes, minor go formatting change.
-
Péter Szilágyi authored
p2p, p2p/discover, p2p/nat: rework logging using context keys
-
Felix Lange authored
-
- Feb 27, 2017
-
-
Péter Szilágyi authored
common, eth/downloader, log: support terminal log formatting
-
Péter Szilágyi authored
-
Felix Lange authored
-
Péter Szilágyi authored
internal/ethapi: return logsBloom for pending block
-
Péter Szilágyi authored
log: fix annoyances
-
Victor Tran authored
-
Felix Lange authored
Also tweak behaviour so colors are only enabled when stderr is a terminal.
-
Felix Lange authored
-
Felix Lange authored
-
Péter Szilágyi authored
eth/downloader: port over old logs from glog to log15
-
Péter Szilágyi authored
vendor: update HID library for glibc < v2.17 build
-
Péter Szilágyi authored
-
Valentin Wüstholz authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
- 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
-
- Feb 24, 2017
-
-
Péter Szilágyi authored
Drop legacy commands
-
Vlad Gluhovsky authored
-
- Feb 23, 2017
-
-
Vlad Gluhovsky authored
-
Péter Szilágyi authored
This command was meant as a hackish way to upgrade our chain database way back when nobody cared for live updates and the size of the database along with its import times was small. With the current database weighing hundreds of GBs and processing times of many days, this command is just ludicrous.
-