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
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
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
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
Jeffrey Wilcke
ee5728ec03
fake commit for build server :(
9 years ago
Jeffrey Wilcke
98100f472c
cmd/geth: bumped version number
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
036e6301af
cmd/geth, core, eth: Version 1.0.0
...
Genesis release. Closes #1402
Conflicts:
cmd/geth/main.go
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
Péter Szilágyi
c7e7778f2a
cmd, core, eth, ethdb: cache flag to allocate memory for db internal use
9 years ago
Taylor Gerring
cf5313f13e
Update disclaimer
9 years ago
Taylor Gerring
1909d26fe2
Prompt user to accept legalese when datadir doesn't exist
9 years ago
Jeffrey Wilcke
a32c51effd
cmd, core, eth, common: genesis preparation
...
Implemented the --genesis flag thru which we can set a custom genesis
block, including the official Ethereum genesis block.
10 years ago
Jeffrey Wilcke
5a810758db
cmd/geth: bump version 0.9.39
10 years ago
Jeffrey Wilcke
344277d026
cmd/geth: version bump 0.9.38
10 years ago
Jeffrey Wilcke
ee04b71887
cmd/geth, cmd/utils: changed ParamsToAddress to return error
...
ParamsToAddress no longer aborts the process, it now returns an error
instead so that the caller can handle the error properly.
10 years ago
Jeffrey Wilcke
4b5c99d97f
cmd/geth: version number 0.9.36
10 years ago
Felix Lange
bdae4fd573
all: add some godoc synopsis comments
10 years ago
Felix Lange
e813626ee1
all: remove @author comments
10 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago
Jeffrey Wilcke
bfcac89881
cmd/geth, cmd/utils: changed ParamsToAddress to return error
...
ParamsToAddress no longer aborts the process, it now returns an error
instead so that the caller can handle the error properly.
10 years ago
Jeffrey Wilcke
db06906c4f
cmd/geth: version number 0.9.36
10 years ago