Péter Szilágyi
567d41d936
all: swap out the C++ ethash to the pure Go one (mining todo)
8 years ago
Péter Szilágyi
3b00a77de5
crypto, pow: add pure Go implementation of ethash
8 years ago
Péter Szilágyi
288700c4d8
build: add bootnode to Ubuntu PPAs too ( #3766 )
8 years ago
Martin Holst Swende
544247c918
* cmd/geth: add --nocompaction flag + multiple import files
...
* main,import: Add --nocompaction flag + multiple import files
* geth/import: documentation
* import: Added more info to err message
* fix :P
8 years ago
Felix Lange
8cf08e4b25
core/types: use gencodec for JSON marshaling code
8 years ago
Felix Lange
eee96a5bb7
rlp: add support for "-" struct tag
8 years ago
Felix Lange
667cd518ce
internal/jsre/deps: ensure that go generate produces no changes
8 years ago
Péter Szilágyi
4c6f4e569e
Merge pull request #3755 from ligi/mobile_fix_typo
...
mobile: Fix typo ( Ethereun -> Ethereum )
8 years ago
Felix Lange
9c4fd4e9c9
Makefile: add devtools target
8 years ago
ligi
db2698c87c
mobile: Fix typo ( Ethereun -> Ethereum )
8 years ago
Péter Szilágyi
07c216d603
Merge pull request #3739 from karalabe/logger-updates-4
...
all: update light logs (and a few others) to the new model
8 years ago
Péter Szilágyi
1a00e39539
Merge pull request #3738 from karalabe/impossible-reorg-warning
...
core: reorg logs crashed, add a check for corner cases
8 years ago
Péter Szilágyi
92e50adfa3
Merge pull request #3741 from karalabe/fix-makefile-xgo
...
build: fix xgo argument order when building from make
8 years ago
Péter Szilágyi
2b284e7366
build: fix xgo argument order when building from make
8 years ago
Péter Szilágyi
e7030c4bf5
all: update light logs (and a few others) to the new model
8 years ago
Péter Szilágyi
a38e1a9c00
core: reorg logs crashed, add a check for corner cases
8 years ago
Aaron Hnatiw
faf713632c
README: fix typo
8 years ago
Péter Szilágyi
725c2646a0
Merge pull request #3735 from karalabe/bundle-bootnode
...
build: bundle the bootnode too into alltools
8 years ago
Péter Szilágyi
f2e94ff94b
Merge pull request #3727 from karalabe/travis-mips
...
travis: support building mips32 and mips64 too
8 years ago
Péter Szilágyi
090699c0f6
build: bundle the bootnode too into alltools
8 years ago
Péter Szilágyi
213b8f9af4
Merge pull request #3722 from fjl/hexutil-text-unmarshal
...
common/hexutil: implement TextMarshaler, TextUnmarshaler
8 years ago
Péter Szilágyi
9184249b39
Logger updates 3 ( #3730 )
...
* 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
8 years ago
Felix Lange
280f08be84
common/hexutil: ensure negative big.Int is encoded sensibly
...
Restricting encoding is silly.
8 years ago
Felix Lange
d304da3803
common/hexutil: implement TextMarshaler, TextUnmarshaler
...
This commit makes the wrapper types more generally applicable.
encoding.TextMarshaler is supported by most codec implementations (e.g.
for yaml).
The tests now ensure that package json actually recognizes the custom
marshaler implementation irrespective of how it is implemented.
The Uint type has new tests, too. These are tricky because uint size
depends on the CPU word size. Turns out that there was one incorrect
case where decoding returned ErrUint64Range instead of ErrUintRange.
8 years ago
Felix Lange
357d00cdb1
common/hexutil: don't leak encoding/hex errors in Decode
...
All other functions return errors from package hexutil, ensure that
Decode does too.
8 years ago
Felix Lange
f3b7dcc5bd
common/hexutil: reject big integer inputs > 256 bits
...
This follows the change to common/math big integer parsing in PR #3699 .
8 years ago
Péter Szilágyi
82e7c1d124
Merge pull request #3728 from obscuren/format-trace
...
core/evm, core/vm: improved evm trace output
8 years ago
Péter Szilágyi
f972691eea
travis: support building mips32 and mips64 too
8 years ago
Valentin Wüstholz
c52ab932e6
cmd/disasm, cmd/evm: integrate disasm tool into evm tool. ( #3729 )
8 years ago
Jeffrey Wilcke
f30733c806
cmd/evm: removed -sysstat and moved content to -debug flag
...
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`.
8 years ago
Jeffrey Wilcke
bf4155846c
core/evm, core/vm: improved evm trace output
...
* 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.
8 years ago
Jeffrey Wilcke
230cf2ec91
cmd/evm, core/asm: add EVM assembler ( #3686 )
...
The evm compile command implements a simple assembly language that compiles to
EVM bytecode.
8 years ago
Jeffrey Wilcke
7ff75ac2f2
cmd/utils, core, params: fork all teh things for dev mode ( #3697 )
8 years ago
Péter Szilágyi
167be7f260
Merge pull request #3725 from karalabe/kill-it-with-fire
...
errs: kill it with fire
8 years ago
Péter Szilágyi
7e3762fdc6
errs: kill it with fire
8 years ago
Péter Szilágyi
94c71c171f
Merge pull request #3723 from karalabe/logger-updates-2
...
Logger updates
8 years ago
Felix Lange
5f7826270c
all: unify big.Int zero checks, use common/math in more places ( #3716 )
...
* 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
8 years ago
Péter Szilágyi
b117da2db3
core/state: drop most of a logs (useless at this volume)
8 years ago
Péter Szilágyi
e02883c0a2
core, log: track field length and pad to align
8 years ago
Péter Szilágyi
e588e0ca2b
all: next batch of log polishes to contextual versions
8 years ago
Péter Szilágyi
d4f60d362b
Merge pull request #3721 from karalabe/drop-legacy-db-updates
...
core, eth: drop database block splitting upgrader
8 years ago
Péter Szilágyi
46bcd9a92c
core, eth: drop database block splitting upgrader
8 years ago
Jamie Pitts
dbd88a1aa4
params: updated bootnodes ( #3720 )
...
* Updated the list of go bootnodes: replaced BR with a new one, added US-WEST and AU.
* Updated bootnodes, minor go formatting change.
8 years ago
Péter Szilágyi
965407f238
Merge pull request #3709 from fjl/p2p-context-log
...
p2p, p2p/discover, p2p/nat: rework logging using context keys
8 years ago
Felix Lange
96ae35e2ac
p2p, p2p/discover, p2p/nat: rework logging using context keys
8 years ago
Péter Szilágyi
dc0a006c7c
Merge pull request #3718 from karalabe/terminal-format-hash
...
common, eth/downloader, log: support terminal log formatting
8 years ago
Péter Szilágyi
2f28a12cdb
common, eth/downloader, log: support terminal log formatting
8 years ago
Felix Lange
35e8308bf7
eth, les: shorten genesis block mismatch error message
8 years ago
Péter Szilágyi
fc97c7a38d
Merge pull request #3717 from tranvictor/master
...
internal/ethapi: return logsBloom for pending block
8 years ago
Péter Szilágyi
48bc07ae97
Merge pull request #3708 from fjl/log-letter
...
log: fix annoyances
8 years ago