Gustav Simonsson
1d20b0247c
Update libsecp256k1
9 years ago
Jeffrey Wilcke
7977e87ce1
Merge pull request #1843 from karalabe/cleanup-downloader-channel
...
eth/downloader: always send termination wakes, clean leftover
9 years ago
Jeffrey Wilcke
69d86442a5
Merge pull request #1803 from Gustav-Simonsson/badhashes
...
core: Add BadHashErr and test for BadHashes handling
9 years ago
Jeffrey Wilcke
36f46a61a7
Merge pull request #1844 from obscuren/version-file
...
VERSION: added version
9 years ago
Jeffrey Wilcke
6e1dc321f4
VERSION: added version
9 years ago
Felix Lange
7a2a918067
Merge pull request #1842 from fjl/rpc-fix-unknown-block
...
rpc/api: don't crash for unknown blocks
9 years ago
Péter Szilágyi
f459a3f0ae
eth/downloader: always send termination wakes, clean leftover
9 years ago
Jeffrey Wilcke
e456f27795
Merge pull request #1827 from Gustav-Simonsson/common_tests
...
tests: add test for StateTests/stCallCodes.json
9 years ago
Felix Lange
90cd8ae9f2
rpc/api: don't crash for unknown blocks
...
Most eth RPC calls that work with blocks crashed when the block was not
found because they called Hash on a nil block. This is a regression
introduced in cdc2662c40
(#1779 ).
While here, remove the insane conversions in get*CountBy*. There is no
need to construct a complete BlockRes and converting
int->int64->*big.Int->[]byte->hexnum->string to format the length of a
slice as hex.
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
Gustav Simonsson
bfde1a4305
core: Add BadHashErr and test for BadHashes handling
9 years ago
Jeffrey Wilcke
e56cbc225e
Merge pull request #1835 from karalabe/make-cross
...
makefile: built in cross compilation targets
9 years ago
Jeffrey Wilcke
7bf8e949e7
Merge pull request #1669 from obscuren/tx-pool-auto-resend
...
core, xeth: chain reorg move missing transactions to transaction pool
9 years ago
Péter Szilágyi
6a05c569f2
makefile: built in cross compilation targets
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
Jeffrey Wilcke
12c0afe4fe
Merge pull request #1822 from karalabe/contain-pow
...
core: separate and contain POW verifier, extensive tests
9 years ago
Gustav Simonsson
5621308949
tests: add test for StateTests/stCallCodes.json
9 years ago
Péter Szilágyi
399c920380
core: separate and contain POW verifier, extensive tests
9 years ago
Jeffrey Wilcke
e40b447fea
Merge pull request #1814 from Gustav-Simonsson/common_tests
...
tests: update common test wrappers and test files
9 years ago
Jeffrey Wilcke
b94b9b0158
Merge pull request #1817 from obscuren/nonce-fix
...
core: transaction nonce recovery
9 years ago
Gustav Simonsson
47ca6904b3
tests: use lastblockhash field to validate reorgs and block headers
9 years ago
Gustav Simonsson
075815e5ff
tests: update common test wrappers and test files
9 years ago
Jeffrey Wilcke
b60a27627b
core: transaction nonce recovery fix
...
When the transaction state recovery kicked in it assigned the last
(incorrect) nonce to the pending state which caused transactions with
the same nonce to occur.
Added test for nonce recovery
9 years ago
Felix Lange
216c486a3a
Merge pull request #1815 from karalabe/chain-maker-timer
...
core: allow modifying test-chain block times
9 years ago
Felix Lange
ac6248ed7a
Merge pull request #1793 from jeffallen/typo
...
common: Update README.md for the current package name
9 years ago
Felix Lange
bdf4fd6091
Merge pull request #1813 from kobigurk/develop
...
cmd/geth: extradata is correcly initialized with console
9 years ago
Felix Lange
69f48e4689
Merge pull request #1811 from bas-vk/timer-clearinterval
...
timer bugfix when clearInterval was called from within the callback
9 years ago
Péter Szilágyi
6f3cb12924
core: allow modifying test-chain block times
9 years ago
Jeffrey Wilcke
58fbcaa750
Merge pull request #1810 from karalabe/pure-header-verifications-2
...
core, eth, miner: use pure header validation
9 years ago
Kobi Gurkan
1a1a1ee4ff
cmd/geth: extradata is correcly initialized with console
9 years ago
Jeffrey Wilcke
985b5f29ed
Merge pull request #1801 from fjl/ethdb
...
all: move common.Database to ethdb and add NewBatch
9 years ago
Bas van Kervel
2f65ddc501
jsre: timer bugfix when clearInterval was called from within the callback
9 years ago
Jeffrey Wilcke
1cc2f08041
Merge pull request #1784 from karalabe/standard-sync-stats
...
eth, rpc: standardize the chain sync progress counters
9 years ago
Péter Szilágyi
821619e1c3
core, eth, miner: use pure header validation
9 years ago
Jeffrey Wilcke
e9a80518c7
Merge pull request #1744 from kobigurk/develop
...
adds extradata flag
9 years ago
Kobi Gurkan
321733ab23
cmd/geth: adds extradata flag
9 years ago
Péter Szilágyi
d4d3fc6a70
jsre, rpc/api: pull in new web3 and use hex numbers
9 years ago
Péter Szilágyi
99b62f36b6
eth/downloader: header-chain order and ancestry check
9 years ago
Péter Szilágyi
0a7d059b6a
eth, rpc: standardize the chain sync progress counters
9 years ago
Jeffrey Wilcke
55bdcfaeac
Merge pull request #1806 from ethersphere/solc2
...
new solc api - late fixes
9 years ago
zelig
3a5e7ed9a6
new solc api:
...
* use legacy version matcher
* optimise just a boolean flag
* skipf for messages in tests
9 years ago
Felix Lange
b252589960
ethdb: remove Flush
9 years ago
Felix Lange
d581dfee5f
ethdb: copy stored memdb values
...
Storing a value in LevelDB copies the bytes, modifying the value
afterwards does not affect the content of the database. This commit
ensures that MemDatabase satisfies the same property.
9 years ago
Felix Lange
8b32f10f16
ethdb: add NewBatch
9 years ago
Felix Lange
8c4dab77ba
all: move common.Database to package ethdb
9 years ago
Felix Lange
071e2cd08e
Merge pull request #1786 from ethersphere/solc
...
common/compiler: new solc API
9 years ago
Felix Lange
47b9c640f5
Merge pull request #1797 from karalabe/ensure-ipcpath-exists
...
rpc/comms: fix #1795 , ensure IPC path exists before binding
9 years ago
Felix Lange
a9c809b441
Merge pull request #1792 from jeffallen/uuid
...
Change go-uuid to use the current supported repository.
9 years ago
Jeff R. Allen
0d40727775
Change go-uuid to use the current supported repository.
9 years ago