Felix Lange
ea54283b30
all: update license information
2015-07-07 14:12:44 +02:00
zelig
c5cb6e8e70
fix/skip tests, adapt registrar to no contract address
...
registry initialisers now return the txhash which caller can use to retrieve receipt
2015-07-07 11:30:55 +02:00
zelig
1208ac83d5
fix natspec test
...
* registar url string retrieval chop leading zeros now
* rewrite test using test mining
* remove temporary applyTxs from xeth
2015-07-07 10:43:49 +02:00
zelig
aa22cf323e
fix js arguments and TestContract passes
2015-07-07 10:43:49 +02:00
zelig
518dc87db3
fix sleepBlocks, implement sleep
2015-07-07 10:43:49 +02:00
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
2015-07-07 10:43:31 +02:00
Gustav Simonsson
d23ec6c419
Change keystore to version 3
...
* Change password protection crypto in keystore to version 3
* Update KeyStoreTests/basic_tests.json
* Add support for PBKDF2 with HMAC-SHA256
* Change MAC and encryption key to avoid unnecessary hashing
* Add tests for test vectors in new wiki page defining version 3
* Add tests for new keystore tests in ethereum/tests repo
* Move JSON loading util to common for use in both tests and
crypto packages
* Add backwards compatibility with key store version 1
2015-06-24 06:03:23 +02:00
obscuren
c590b505ed
core, ethdb, trie: validate database errors
2015-06-21 16:59:15 +02:00
obscuren
787a61bb27
core/state, core/vm: reworked storage get / set to use common.Hash
2015-06-17 11:24:40 +02:00
obscuren
21fa29111b
core: reduce max allowed queued txs per address
...
Transactions in the queue are now capped to a maximum of 200
transactions. This number is completely arbitrary.
2015-06-15 12:16:29 +02:00
Bas van Kervel
359e6414e5
fixed windows ipc path issue
2015-06-12 09:32:37 +02:00
Bas van Kervel
2a0d888326
added API/IPC commandline flags
2015-06-11 14:01:39 +02:00
obscuren
76148515fa
skip sol on new compiler
2015-06-09 15:19:20 +02:00
obscuren
2bb0e48a7b
skipped failing natspec tests
2015-06-04 13:17:47 +02:00
obscuren
9b27fb91c0
cmd/geth, common/natspec: updating tests (still failing?)
2015-06-04 11:41:20 +02:00
obscuren
b26f5e0bb7
types: block json unmarshal method added
2015-06-03 22:39:17 +02:00
obscuren
020006a8ed
common, ethdb: removed caching and LastTD
2015-05-27 18:03:16 +02:00
Marek Kotewicz
c31f8e2bd7
compile solidity contracts with std library
2015-05-24 19:12:18 +02:00
zelig
b0ae84aa0d
multiple contract source for solidity compiler: returns contract array if multiple contracts. fixes #1023
2015-05-20 04:11:48 +01:00
zelig
4201a18117
remove solc flair
2015-05-20 02:47:13 +01:00
zelig
f9abcee0f9
fix solc tests unskip
2015-05-20 02:47:13 +01:00
obscuren
79fa05867f
xeth: set balance max balance to from in call. Closes #951
2015-05-16 00:03:08 +02:00
Gustav Simonsson
e389585f1f
Change default keystore dir
2015-05-12 18:33:04 +02:00
Gustav Simonsson
8001e48115
Fix natspec test (again x2) types
2015-05-12 17:22:17 +02:00
Gustav Simonsson
fe9e95a3fd
Fix natspec e2e test accounts type (again)
2015-05-12 17:22:17 +02:00
Jeffrey Wilcke
58d6ec689f
Merge pull request #933 from bas-vk/issue928
...
replaced path with platform aware filepath module
2015-05-12 08:23:46 -07:00
obscuren
dca290d525
sol: skipped source checking step
2015-05-12 16:19:14 +02:00
Bas van Kervel
b79dd188d9
replaced several path.* with filepath.* which is platform independent
2015-05-12 14:24:11 +02:00
zelig
03bf902b92
compiler, cli/js: fix solidity compiler tests failing when a different version of solc installed
2015-05-12 12:36:54 +02:00
obscuren
a2919b5e17
core, eth, miner: improved tx removal & fatal error on db sync err
...
* core: Added GasPriceChange event
* eth: When one of the DB flush methods error a fatal error log message
is given. Hopefully this will prevent corrupted databases from
occuring.
* miner: remove transactions with low gas price. Closes #906 , #903
2015-05-11 11:39:33 +02:00
zelig
009b221692
solidity compiler and contract metadocs integration
...
* common/compiler: solidity compiler + tests
* rpc: eth_compilers, eth_compileSolidity + tests
* fix natspec test using keystore API, notice exp dynamically changes addr, cleanup
* resolver implements registrars and needs to create reg contract (temp)
* xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath)
* ethereumApi: implement compiler related RPC calls using XEth - json struct tests
* admin: make use of XEth.SetSolc to allow runtime setting of compiler paths
* cli: command line flags solc to set custom solc bin path
* js admin api with new features debug and contractInfo modules
* wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions
2015-05-07 12:58:21 +02:00
Jeffrey Wilcke
24d44f35f2
Merge pull request #791 from fjl/discover-sha3-distance
...
p2p/discover: sha3-based node distance
2015-05-06 13:48:57 -07:00
obscuren
03bb88dec0
xeth, rpc: added nonce setting through RPC and xeth transact
2015-05-06 18:30:55 +02:00
Felix Lange
d457a1187d
common: add Hash.Generate
2015-04-30 15:02:23 +02:00
Taylor Gerring
f8cdff9a5d
Remove path separator literals
2015-04-29 00:30:25 -05:00
obscuren
3bb6da9bd3
natspec: disabled natspec test
2015-04-24 17:44:22 +02:00
Bas van Kervel
c273ed7d82
Moved leveldb update loop to eth/backend
...
change order of block insert and update LastBlock
bugfix, wrong hash stored in blockDb
2015-04-23 17:58:58 +02:00
obscuren
d7bab21681
natspec: fixed test to work with new queued transactions
2015-04-23 11:50:12 +02:00
Felix Lange
9d152d6191
common: delete BinaryLength
...
The test is failing the 32bit build and the function
is not used anywhere.
2015-04-22 12:31:19 +02:00
zelig
093a9106b0
contract addresses include hex prefix
...
- simplify resolver and tests
- added missing test for KeyToUrl
- fix notice error message and its test with !%x(MISSING)
- natspec test: insertTx modified - does not prepend 0x to contract address
- disable networking in e2e test
2015-04-19 21:09:30 +01:00
zelig
71c974f3eb
fix end to end test import cycle
2015-04-19 20:57:50 +01:00
zsfelfoldi
e9874cbcc1
fixed resolver test
2015-04-19 20:57:50 +01:00
zsfelfoldi
929428d602
URLhint support for URLs longer than 32 bytes
2015-04-19 20:57:49 +01:00
zsfelfoldi
b6fe9e0c83
added missing source file
2015-04-19 20:57:49 +01:00
zsfelfoldi
d8fb834386
test account is no longer permanently in genesis block, only put there when testing
2015-04-19 20:57:49 +01:00
zsfelfoldi
dba2367157
NatSpec contracts are now not in the genesis block but added by the test
2015-04-19 20:57:49 +01:00
zsfelfoldi
f255336c2c
utils linked to natspec notice eval, test notice now using utils.toHex()
2015-04-19 20:57:49 +01:00
zsfelfoldi
c4b7d4d3f7
NatSpec cli option, resolver tests passing
2015-04-19 20:57:49 +01:00
zsfelfoldi
b46e152171
default fallback NatSpec messages
2015-04-19 20:57:49 +01:00
zsfelfoldi
8e6a068d2d
natspec test bugfix
2015-04-19 20:57:49 +01:00
zsfelfoldi
b635cad9fe
NatSpec passing end to end test
2015-04-19 20:57:49 +01:00
zsfelfoldi
94489b2269
s
2015-04-19 20:57:49 +01:00
zsfelfoldi
e2d333d209
NatSpec contracts in genesis block, end to end test (unfinished)
2015-04-19 20:57:49 +01:00
zelig
ac0e5e8b6d
resolver tests
...
- add resolver tests and fix resolver to pass
- statereg constructor fixed
- comments added to natspec plus docserver integration for natspec userdoc fetching
2015-04-19 20:57:49 +01:00
zelig
3a540425a3
reorg:
...
- statereg methods move to natspec/resolver/docserver
- fix failing test on invalid js input
2015-04-19 20:57:48 +01:00
zelig
5b0ea1044a
add docserver using net/http Transport/Roundtrip
2015-04-19 20:57:48 +01:00
zsfelfoldi
3136bae4a5
NatSpec, URL register storage retrieval
...
fixed 2/3 tests
2015-04-19 20:57:48 +01:00
zelig
97a602864a
add common/resolver skeleton
2015-04-19 20:57:48 +01:00
zelig
d0b3536593
new natspec
...
- constructor takes abidoc, userdoc
- json parsing of userdoc
- method found by abi data
- notice found from method
2015-04-19 20:57:48 +01:00
obscuren
52c874a609
common: Added debug reporter
...
NOTE: For known, non-consensus, hard to reproduce bugs consider the
following method `common.Report("extra", stuff, "you need logged")` will
give you a stack trace and a friendly request to submit it as an issue
on our issue tracker.
2015-04-15 16:39:44 +02:00
obscuren
7f32a08b60
Queued level db writes and batch writes. Closes #647
2015-04-07 22:19:01 +02:00
Taylor Gerring
aa71e27a3b
Detect non-valid strings for blockheight
2015-04-02 15:53:04 +02:00
Taylor Gerring
ac03ff6f05
Fix block size output #613
2015-04-01 15:44:09 +02:00
zelig
4ec38e3932
common: remove WriteFile and ReadAllFile (use ioutil instead)
2015-03-26 19:00:18 +00:00
zelig
53af810851
natspec: minor fix in test
2015-03-23 17:36:04 +00:00
Jeffrey Wilcke
8affdf96e2
Merge pull request #547 from tgerring/commoncleanup
...
common/common.go cleanup
2015-03-22 21:46:46 +01:00
Jeffrey Wilcke
3133372a6a
Merge pull request #536 from zsfelfoldi/develop
...
using robertkrimen/otto, godeps updated
2015-03-22 21:45:56 +01:00
Taylor Gerring
bf73f02fe0
Remove common.go
2015-03-22 13:48:07 +01:00
Taylor Gerring
360c66c65d
Move Big* vars to big.go
2015-03-22 13:46:38 +01:00
Taylor Gerring
2477d10aa0
Move MakeName to path
2015-03-22 13:46:21 +01:00
Taylor Gerring
c0741edc34
Move OS-specific funcs to path.go
2015-03-22 13:44:17 +01:00
Taylor Gerring
82a41a198e
Move CurrencyToString to size
2015-03-22 13:35:13 +01:00
Taylor Gerring
08b21acff1
Move ToHex/FromHex into bytes
2015-03-22 13:32:52 +01:00
Felix Lange
28ddc16a9b
Merge remote-tracking branch 'ethereum/conversion' into conversion
2015-03-20 14:01:35 +01:00
Felix Lange
c161d73d42
common: drop accessors for Value.Val
...
I don't see why we would need two different accessors for a public field.
2015-03-20 14:00:26 +01:00
Felix Lange
dcb9614dfe
common: drop unused kind field from Value
...
This makes Value 24 bytes smaller on 64bit systems.
2015-03-20 14:00:26 +01:00
Felix Lange
f7d1d601e9
common: make Value encodable with package rlp
...
Value.{Encode,Decode} are gone. It implements rlp.Encoder and rlp.Decoder
instead, so Value can be decoded into directly.
2015-03-20 14:00:26 +01:00
zsfelfoldi
8324b683b4
using robertkrimen/otto, godeps updated
2015-03-20 13:22:01 +01:00
obscuren
62236dd95e
copy over loop
2015-03-19 23:20:41 +01:00
obscuren
df5901fdc5
Removed more casts
2015-03-19 22:45:03 +01:00
obscuren
f9a6038f5b
merge
2015-03-18 18:23:37 +01:00
obscuren
48dd601de0
prep template for fixed size hashes
2015-03-18 14:15:58 +01:00
obscuren
cd52ef315c
Added Hex methods
2015-03-18 11:44:17 +01:00
obscuren
0fa7859b94
Fixed VM & Tests w/ conversion
2015-03-17 13:24:25 +01:00
obscuren
ff55c6f5ba
Merge branch 'develop' into conversion
...
Conflicts:
common/types.go
2015-03-17 13:09:22 +01:00
obscuren
843db4978e
updated blockpool
2015-03-16 23:10:26 +01:00
obscuren
91b0b14845
converted vm
2015-03-16 18:42:18 +01:00
obscuren
e620bde405
conversion state
2015-03-16 17:09:08 +01:00
Maran
7330c97b5b
DRY up the use of toHex in the project and move it to common
2015-03-16 16:56:11 +01:00
obscuren
76f215b0fe
Getters shouldn't need to be pointer receiver
2015-03-16 16:44:27 +01:00
obscuren
d338650089
compilable trie (tests fail)
2015-03-16 16:28:16 +01:00
obscuren
20b7162a62
Added functions to Hash & Address
...
* Set, SetString, SetBytes
* StringTo*, BytesTo*
2015-03-16 13:23:06 +01:00
obscuren
dc864ee3a5
Added ToString methods
2015-03-16 12:20:17 +01:00
obscuren
3cf51d5479
tmp
2015-03-16 12:03:52 +01:00
obscuren
f486c0ae56
new type + additional methods
2015-03-16 11:59:52 +01:00
obscuren
b523441361
Moved ethutil => common
2015-03-16 11:27:38 +01:00