Péter Szilágyi
74578ab22b
common: fix #1818 , secondary datadir paths to fall back to
9 years ago
Bas van Kervel
8636f0e1c3
console/history respect datadir
9 years ago
Felix Lange
70b6174748
cmd/geth, core: make "geth blocktest" work again
...
The test genesis block was not written properly, block insertion failed
immediately.
While here, fix the panic when shutting down "geth blocktest" with
Ctrl+C. The signal handler is now installed automatically, causing
ethereum.Stop to crash because everything is already stopped.
9 years ago
Jeffrey Wilcke
eaa4473dbd
core, core/types: readd transactions after chain re-org
...
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
9 years ago
Jeffrey Wilcke
be76a68aea
cmd/geth: changed version number to 1.2.0
...
Changed the version number of geth to 1.2.0 so that dev builds are now properly build (instead of master). Note to self; increase version number to 1.2.1 for our next actual release.
9 years ago
Gustav Simonsson
47ca6904b3
tests: use lastblockhash field to validate reorgs and block headers
9 years ago
Kobi Gurkan
1a1a1ee4ff
cmd/geth: extradata is correcly initialized with console
9 years ago
Kobi Gurkan
321733ab23
cmd/geth: adds extradata flag
9 years ago
Felix Lange
8c4dab77ba
all: move common.Database to package ethdb
9 years ago
Péter Szilágyi
cdc2662c40
core: split out TD from database and all internals
9 years ago
Jeffrey Wilcke
f04b3a6f29
cmd/geth, cmd/utils, eth: added dev mode flag
...
Dev mode enabled some debugging flags such as:
* VM debugging mode
* Simpler proof of work
* Whisper enabled by default
* Datadir to a tmp datadir
* Maxpeers set to 0
* Gas price of 0
* Random listen port
9 years ago
Bas van Kervel
f69121357d
cmd/geth Autocompletion bugfix which let the console crash
9 years ago
Kobi Gurkan
1a86adc5a2
cmd/geth: honor datadir when attaching
9 years ago
Péter Szilágyi
17f65cd1e5
eth: update metrics collection to handle eth/62 algos
9 years ago
Péter Szilágyi
47a7fe5d22
eth: port the synchronisation algo to eth/62
9 years ago
Gustav Simonsson
7324176f70
Add tests for uncle timestamps and refactor timestamp type
9 years ago
Péter Szilágyi
42f44dda54
eth, eth/downloader: handle header requests, table driven proto tests
9 years ago
Jeffrey Wilcke
d51d0022ce
cmd/geth: bumped version 1.1.0
9 years ago
Jeffrey Wilcke
54088b0b8b
cmd/geth: bumped version 1.0.3
9 years ago
Jeffrey Wilcke
9fb7bc7443
geth: bumped version 1.0.2
9 years ago
Jeffrey Wilcke
269c5c7107
Revert "fdtrack: temporary hack for tracking file descriptor usage"
...
This reverts commit 5c949d3b3b
.
9 years ago
Maran
4d5501c46a
cmd/geth: Fix chain purging from cmd line
9 years ago
Bas van Kervel
c472b8f725
main clear current line on ctrl-C
9 years ago
Bas van Kervel
87d1cde7e4
main print console output for js statement given by the exec argument
9 years ago
Felix Lange
31a2793662
cmd/geth: remove spaces in client identifier
9 years ago
Bas van Kervel
f9cbd16f27
support for user agents
9 years ago
Felix Lange
0ef80bb3d0
cmd/geth, jsre: restore command line editing on windows
...
PR #856 broke command line editing by wrapping stdout with a filter that
interprets ANSI escape sequences to fix colored printing on windows.
Implement the printer in Go instead so it can do its own
platform-dependent coloring.
As a nice side effect, the JS console is now noticeably more responsive
when printing results.
Fixes #1608
Fixes #1612
9 years ago
Jeffrey Wilcke
9cacec70f9
cmd/evm, core/vm, tests: changed DisableVm to EnableVm
9 years ago
Jeffrey Wilcke
67c8ccc309
cmd/ethtest: added trace flag for debugging
9 years ago
Jeffrey Wilcke
eec38c5853
cmd/geth, core/vm: setup vm settings and defaulted JIT disabled
9 years ago
Jeffrey Wilcke
a23478c0be
core, eth, trie, xeth: merged state, chain, extra databases in one
9 years ago
caktux
3ccab5a1e8
string version for build server
9 years ago
Jeffrey Wilcke
184e9ae9a8
core, tests: reduced state copy by N calls
...
Reduced the amount of state copied that are required by N calls by doing
a balance check prior to any state modifications.
9 years ago
Jeffrey Wilcke
846f34f78b
core/vm, tests: implemented semi-jit vm
...
* changed stack and removed stack ptr. Let go decide on slice reuse.
9 years ago
Jeffrey Wilcke
785b3e7a57
cmd/geth, eth: added canonical extra data
...
Implemented canonical extra data according to
https://github.com/ethereum/wiki/wiki/Extra-Data
9 years ago
Felix Lange
eae1191904
cmd/utils: fix path expansion on windows
9 years ago
Felix Lange
78b101e15d
common: remove windows path functions
...
They were unused and their tests failed on Windows.
9 years ago
Jeffrey Wilcke
74f6d90153
cmd/utils, core: disable exp diff for olympic net
9 years ago
Jeffrey Wilcke
ee5728ec03
fake commit for build server :(
9 years ago
Jeffrey Wilcke
98100f472c
cmd/geth: bumped version number
9 years ago
Gustav Simonsson
26c6e3b206
miner: gas limit strategy, target 3141592 & def gas price 50 Shannon
9 years ago
Felix Lange
5c949d3b3b
fdtrack: temporary hack for tracking file descriptor usage
...
Package fdtrack logs statistics about open file descriptors.
This should help identify the source of #1549 .
9 years ago
Jeffrey Wilcke
dcdb7059cc
cmd, core, eth: support for the olympic network
...
Added a --olympic flag which initialiser the olympic protocol settings
9 years ago
zelig
6628eeb6ca
jsre: leave out lines from history containing methods of the personal module
9 years ago
zelig
1356daad27
etherbase defaults to first account even if created during the session
9 years ago
Jeffrey Wilcke
ba15f9d282
cmd/util: lowered default gas price
9 years ago
Jeffrey Wilcke
036e6301af
cmd/geth, core, eth: Version 1.0.0
...
Genesis release. Closes #1402
Conflicts:
cmd/geth/main.go
9 years ago
Jeffrey Wilcke
8fc9830971
cmd/core,xeth: removed unneeded states & added batch writes
9 years ago
Felix Lange
0428cae226
remove LICENSE files
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago