Felix Lange
ea54283b30
all: update license information
10 years ago
Jeffrey Wilcke
37c1a8f69d
eth,miner,rpc: set coinbase
10 years ago
zelig
83ee39448e
Registrar and contractInfo handling
...
* resolver -> common/registrar
* global registrar name registry interface
* add Call to resolver backend interface
* the hashReg and UrlHing contracts now initialised from global registry
* initialization of contracts uniform
* improve errors and more econsistent method names
* common/registrar/ethreg: versioned registrar
* integrate new naming and registrar in natspec
* js console api: setGlobalRegistrar, setHashReg, setUrlHint
* js test TestContract uses mining - tests fixed all pass
* eth/backend: allow PoW test mode (small ethash DAG)
* console jsre refers to resolver.abi/addr,
* cmd/geth/contracts.go moved to common/registrar
10 years ago
Jeffrey Wilcke
35cd355c14
cmd,eth,rpc,tests: default coinbase
10 years ago
Jeffrey Wilcke
666a7dda36
core, eth, rpc: proper gas used. Closes #1417
...
Added some additional backward compatibility code for old receipts
10 years ago
Jeffrey Wilcke
2feb23c1da
core, eth, miner, xeth: receipt storage fix
...
* Added GetReceiptsFromBlock, GetReceipt, PutReceipts
* Added ContractAddress to receipt. See #1042
10 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
10 years ago
Péter Szilágyi
f857fb7600
eth/downloader: fix a rare test race on the OSX CI
10 years ago
zelig
65a26e40a8
require explicit etherbase address for mining. Falling back to primary is risky given it is inconsistent if keys are imported/merged/created or copied/transfered
10 years ago
zelig
fc2e33c594
unlock multiple passes and obsolete primary
...
* multiple passwords allowed in password file
* split on "\n", sideeffect: chop trailing slashes. fixes common mistake <(echo 'pass')
* remove accounts.Primary method
* do not fall back to primary account for mining
10 years ago
Péter Szilágyi
d6f2c0a76f
eth, eth/downloader: fix #1231 , DOS vulnerability in hash queueing
10 years ago
Péter Szilágyi
1ae80aaf64
eth: fix #1371 , double lock during block/txn known set limitation
10 years ago
Péter Szilágyi
60454da650
eth/downloader: reduce hash fetches in prep for eth/61
10 years ago
Péter Szilágyi
f43c07cb3c
eth, eth/downloader: transition to eth 61
10 years ago
Péter Szilágyi
af51dc4d63
eth, eth/downloader: pass the eth protocol version through
10 years ago
Péter Szilágyi
aac2b6ae4c
eth: add the blocks from numbers protocol message
10 years ago
Péter Szilágyi
5db8f447d5
eth: fix #1319 , put an upper limit on the known txns and blocks
10 years ago
Péter Szilágyi
6fc85f1ec2
eth: clean up peer struct a bit, fix double txn bcast
10 years ago
Péter Szilágyi
2c8ed76e01
eth: start cleaning up old protocol implementation, add metrics
10 years ago
Péter Szilágyi
393d675690
cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61
10 years ago
Péter Szilágyi
01fe972113
cmd, core, eth, metrics, p2p: require enabling metrics
10 years ago
Péter Szilágyi
ccbb56b4f2
cmd/geth, eth, ethdb: monitor database compactions
10 years ago
zsfelfoldi
5d9df7348d
gpo non-existent block checks
10 years ago
Felix Lange
76821d167a
core, eth, rpc: avoid unnecessary block header copying
10 years ago
Felix Lange
e0e5f74776
eth/downloader, eth/fetcher: use core.GenerateChain in tests
...
TestMadeupParentBlockChainAttack has been deleted because it was too
hard to port and the attack that it checks the prevention of is being
averted in a different way (through a protocol change).
10 years ago
Felix Lange
1d42888d30
core/types: make blocks immutable
10 years ago
Felix Lange
654564e164
core/types: make transactions immutable
10 years ago
Péter Szilágyi
a7d22658ad
eth/fetcher: don't drop on future blocks, just not propagate
10 years ago
Péter Szilágyi
29d53b2073
eth/fetcher: don't double filter/fetch the same block
10 years ago
Péter Szilágyi
803b3c4a82
eth, ethdb: measure database operation latencies too
10 years ago
Péter Szilágyi
0609fcf030
eth: make sure dbs are lvldb before instrumenting
10 years ago
Péter Szilágyi
792b0ddccd
core, eth, eth/fetcher, ethdb: polish metrics gathering a bit
10 years ago
Péter Szilágyi
6260b86c15
eth/fetcher: fix failed merge
10 years ago
Péter Szilágyi
b426301467
cmd/geth, eth/fetcher: polish metrics reporting, add some more
10 years ago
Péter Szilágyi
821e01b013
cmd/geth, eth/fetcher: initial metrics support
...
Conflicts:
cmd/geth/admin.go
10 years ago
Péter Szilágyi
3ce17d2862
eth/fetcher: fix a closure data race
10 years ago
Péter Szilágyi
99ca4b619b
eth/fetcher: clean up test assertions
10 years ago
Péter Szilágyi
b53f701c27
eth/fetcher: remove test sleeps (15s -> 2.8s)
10 years ago
Péter Szilágyi
1989d1491a
eth/fetcher: handle and (crude) test block memory DOS
10 years ago
Péter Szilágyi
d36c25bcbc
eth/fetcher: handle and test block announce DOS attacks
10 years ago
Péter Szilágyi
8c4c7ea192
eth/fetcher: lower max cache size, add timeout slack
10 years ago
Péter Szilágyi
4180ca7fe4
eth: fix the propagation/announce order for mined blocks
10 years ago
Péter Szilágyi
13c25036ea
eth/fetcher: since uncles are allowed, drop phase test
10 years ago
Péter Szilágyi
ecd19919c5
eth/fetcher: allow backward uncle imports too
10 years ago
Péter Szilágyi
90d45f0397
eth: fix test breakage from the previous commit
10 years ago
Péter Szilágyi
b91b581b80
eth, eth/fetcher: propagate after header verify, announce only on insert
10 years ago
Péter Szilágyi
629705ad53
eth: clean the block request packet handling a bit
10 years ago
Péter Szilágyi
5ec6ecc511
eth, eth/fetcher: move propagated block import into fetcher
10 years ago
Péter Szilágyi
a9ada0b5ba
eth/fetcher: make tests thread safe
10 years ago
Péter Szilágyi
37c5ff392f
eth/fetcher: build longest chain until proven otherwise
10 years ago