Gustav Simonsson
7324176f70
Add tests for uncle timestamps and refactor timestamp type
9 years ago
Jeffrey Wilcke
a23478c0be
core, eth, trie, xeth: merged state, chain, extra databases in one
9 years ago
Jeffrey Wilcke
3530acb9e2
core: genesis extra data field fix
9 years ago
Jeffrey Wilcke
c1c895a36b
core: fixed genesis write out to write only canon number
9 years ago
Jeffrey Wilcke
0c718afe90
core: check genesis block before writeout
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
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
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
Felix Lange
ea54283b30
all: update license information
10 years ago
Jeffrey Wilcke
ab16ce70fc
core, miner, tests: renamed state methods
...
* Update => SyncIntermediate
* Added SyncObjects
SyncIntermediate only updates whatever has changed, but, as a side
effect, requires much more disk space.
SyncObjects will only sync whatever is required for a block and will not
save intermediate state to disk. As drawback this requires more time
when more txs come in.
10 years ago
Felix Lange
ceaf1c080b
core: add GenerateChain, GenesisBlockForTesting
10 years ago
Felix Lange
1d42888d30
core/types: make blocks immutable
10 years ago
obscuren
6244b10a8f
core: settable genesis nonce
...
You can set the nonce of the block with `--genesisnonce`. When the
genesis nonce changes and it doesn't match with the first block in your
database it will fail. A new `datadir` must be given if the nonce of the
genesis block changes.
10 years ago
obscuren
b26f5e0bb7
types: block json unmarshal method added
10 years ago
obscuren
97b0c4b697
core: moved TD calculation from proc to chain
10 years ago
zsfelfoldi
d8fb834386
test account is no longer permanently in genesis block, only put there when testing
10 years ago
zsfelfoldi
dba2367157
NatSpec contracts are now not in the genesis block but added by the test
10 years ago
zsfelfoldi
b635cad9fe
NatSpec passing end to end test
10 years ago
zsfelfoldi
e2d333d209
NatSpec contracts in genesis block, end to end test (unfinished)
10 years ago
obscuren
9c55576c7b
Block header changed & console miner control
...
* miner control moved to `admin.miner`
* miner option to set extra data
* block extra now bytes
10 years ago
Gustav Simonsson
c26c8d3a44
Read most protocol params from common/params.json
...
* Add params package with exported variables generated from
github.com/ethereum/common/blob/master/params.json
* Use params package variables in applicable places
* Add check for minimum gas limit in validation of block's gas limit
* Remove common/params.json from go-ethereum to avoid
outdated version of it
10 years ago
obscuren
0a554a1f27
Blocktest fixed, Execution fixed
...
* Added new CreateAccount method which properly overwrites previous
accounts (excluding balance)
* Fixed block tests (100% success)
10 years ago
obscuren
3453f8c5d2
Added Code field
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
Felix Lange
a59dd393e7
core: fix tests
10 years ago
obscuren
515d9432fc
converted vm
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
387f6bba3e
POW fixes
10 years ago
obscuren
e69d5b32e8
Increased genesis gas & gas floor limit to 3141592
10 years ago
obscuren
c47866d251
Miner fixes and updates (including miner)
10 years ago
obscuren
d4d505c868
Fixed genesis
10 years ago
obscuren
08fd0715f9
updated genesis
10 years ago
obscuren
26de12d9bf
Changed nonce to a uint64
10 years ago
obscuren
6ea7aae29c
Removed some methods from the JS REPL
10 years ago
obscuren
cc43ab9a81
Minor updates for release
10 years ago
obscuren
30fa30bd4a
Docs & old code removed
10 years ago
obscuren
3440a8a0bf
changed lost key
10 years ago
obscuren
7f638f0b2d
moving to a better xeth
10 years ago
obscuren
b25126a277
Minor fixed and additions for block proc
...
* Path check length
* Genesis include TD
* Output TD on last block
10 years ago
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
10 years ago
obscuren
780abaec98
Switched to new trie
10 years ago
obscuren
4cd79d8ddd
Refactored block & Transaction
...
* Includes new rlp decoder
10 years ago
obscuren
9008b155d3
Renamed `chain` => `core`
10 years ago
obscuren
6ba8328077
Removed min gas price from genesis
10 years ago
obscuren
d87aa24885
Fixed genesis
10 years ago
obscuren
fd9da72536
ethcrypto => crypto
10 years ago
obscuren
3ee0461cb5
Moved ethchain to chain
10 years ago
obscuren
fb4113dab4
PoC 7 updates
...
* Bloom
* Block restructure
* Receipts
10 years ago
obscuren
6b92d541da
Empty string for uncle
10 years ago
obscuren
520fdfe346
PoC7 Net
10 years ago