aboutsummaryrefslogtreecommitdiffstats
path: root/common/natspec/natspec.go
Commit message (Collapse)AuthorAgeFilesLines
* Godeps, vendor: convert dependency management to trash (#3198)Péter Szilágyi2016-10-291-262/+0
| | | | | | | | | | | | | | | | | | | | | | | This commit converts the dependency management from Godeps to the vendor folder, also switching the tool from godep to trash. Since the upstream tool lacks a few features proposed via a few PRs, until those PRs are merged in (if), use github.com/karalabe/trash. You can update dependencies via trash --update. All dependencies have been updated to their latest version. Parts of the build system are reworked to drop old notions of Godeps and invocation of the go vet command so that it doesn't run against the vendor folder, as that will just blow up during vetting. The conversion drops OpenCL (and hence GPU mining support) from ethash and our codebase. The short reasoning is that there's noone to maintain and having opencl libs in our deps messes up builds as go install ./... tries to build them, failing with unsatisfied link errors for the C OpenCL deps. golang.org/x/net/context is not vendored in. We expect it to be fetched by the user (i.e. using go get). To keep ci.go builds reproducible the package is "vendored" in build/_vendor.
* all: update license informationFelix Lange2016-04-151-1/+1
|
* all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()Ricardo Catalinas Jiménez2016-02-221-2/+2
| | | | As we aren't really using the standarized SHA-3
* rpc: migrated the RPC insterface to a new reflection based RPC layerBas van Kervel2016-01-261-0/+2
|
* rpc api: eth_getNatSpeczelig2015-10-271-7/+7
| | | | | | | | * xeth, rpc: implement eth_getNatSpec for tx confirmations * rename silly docserver -> httpclient * eth/backend: httpclient now accessible via eth.Ethereum init-d via config.DocRoot * cmd: introduce separate CLI flag for DocRoot (defaults to homedir) * common/path: delete unused assetpath func, separate HomeDir func
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: goimports -wFelix Lange2015-07-071-1/+1
|
* all: update license informationFelix Lange2015-07-071-0/+16
|
* Registrar and contractInfo handlingzelig2015-07-071-6/+18
| | | | | | | | | | | | | | | | * 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
* solidity compiler and contract metadocs integrationzelig2015-05-071-70/+64
| | | | | | | | | | | | | * 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
* contract addresses include hex prefixzelig2015-04-201-1/+1
| | | | | | | | - 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
* utils linked to natspec notice eval, test notice now using utils.toHex()zsfelfoldi2015-04-201-1/+1
|
* default fallback NatSpec messageszsfelfoldi2015-04-201-1/+28
|
* NatSpec passing end to end testzsfelfoldi2015-04-201-4/+7
|
* NatSpec contracts in genesis block, end to end test (unfinished)zsfelfoldi2015-04-201-3/+2
|
* resolver testszelig2015-04-201-0/+2
| | | | | | - add resolver tests and fix resolver to pass - statereg constructor fixed - comments added to natspec plus docserver integration for natspec userdoc fetching
* reorg:zelig2015-04-201-15/+21
| | | | | - statereg methods move to natspec/resolver/docserver - fix failing test on invalid js input
* NatSpec, URL register storage retrievalzsfelfoldi2015-04-201-18/+79
| | | | fixed 2/3 tests
* new natspeczelig2015-04-201-8/+85
| | | | | | | - constructor takes abidoc, userdoc - json parsing of userdoc - method found by abi data - notice found from method
* using robertkrimen/otto, godeps updatedzsfelfoldi2015-03-201-1/+1
|
* Moved ethutil => commonobscuren2015-03-161-0/+63