Felix Lange
2d1ea1a66d
Merge pull request #1711 from Gustav-Simonsson/timestamp_big_int
...
Add tests for uncle timestamps and refactor timestamp type
(cherry picked from commit abce09954b
)
(cherry picked from commit fd512fa12c
)
Conflicts:
core/vm/instructions.go
core/vm/jit_test.go
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.
9 years ago
Felix Lange
ea54283b30
all: update license information
9 years ago
Jeffrey Wilcke
2feb23c1da
core, eth, miner, xeth: receipt storage fix
...
* Added GetReceiptsFromBlock, GetReceipt, PutReceipts
* Added ContractAddress to receipt. See #1042
9 years ago
Jeffrey Wilcke
29e2fb38f8
core, miner: miner header validation, transaction & receipt writing
...
* Miners do now verify their own header, not their state.
* Changed old putTx and putReceipts to be exported
* Moved writing of transactions and receipts out of the block processer
in to the chain manager. Closes #1386
* Miner post ChainHeadEvent & ChainEvent. Closes #1388
9 years ago
Felix Lange
76821d167a
core, eth, rpc: avoid unnecessary block header copying
9 years ago
Felix Lange
ceaf1c080b
core: add GenerateChain, GenesisBlockForTesting
9 years ago
Felix Lange
1d42888d30
core/types: make blocks immutable
9 years ago
obscuren
15e169e5b6
core: ValidatedHeader (method => function)
...
Changed header validation method to function in preparation of
@karalabe's PR.
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
Felix Lange
ec7a2c3442
core: don't remove transactions after block processing
...
The transaction pool drops processed transactions on its own
during pool maintenance.
10 years ago
obscuren
e3253b5d5e
core: fixed an issue with storing receipts
10 years ago
obscuren
40717465bc
core: fixed tests
10 years ago
obscuren
e1ed8c33bd
Improved chain manager, improved block processor, fixed tests
...
* ChainManager allows cached future blocks for later processing
* BlockProcessor allows a 4 second window on future blocks
* Fixed tests
10 years ago
Felix Lange
a59dd393e7
core: fix tests
10 years ago
obscuren
ef6706696c
Add additional extra database for non-protocol related data
...
* Add transaction to extra database after a successful block process
10 years ago
obscuren
22b493a6ff
Fixed tests
10 years ago
obscuren
655e942597
Added GetBlock GetUncle with OOB guard
10 years ago