aboutsummaryrefslogtreecommitdiffstats
path: root/mobile
Commit message (Collapse)AuthorAgeFilesLines
* all: disable log message colors outside of gethFelix Lange2017-02-272-2/+2
| | | | Also tweak behaviour so colors are only enabled when stderr is a terminal.
* common: move big integer math to common/math (#3699)Felix Lange2017-02-271-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * common: remove CurrencyToString Move denomination values to params instead. * common: delete dead code * common: move big integer operations to common/math This commit consolidates all big integer operations into common/math and adds tests and documentation. There should be no change in semantics for BigPow, BigMin, BigMax, S256, U256, Exp and their behaviour is now locked in by tests. The BigD, BytesToBig and Bytes2Big functions don't provide additional value, all uses are replaced by new(big.Int).SetBytes(). BigToBytes is now called PaddedBigBytes, its minimum output size parameter is now specified as the number of bytes instead of bits. The single use of this function is in the EVM's MSTORE instruction. Big and String2Big are replaced by ParseBig, which is slightly stricter. It previously accepted leading zeros for hexadecimal inputs but treated decimal inputs as octal if a leading zero digit was present. ParseUint64 is used in places where String2Big was used to decode a uint64. The new functions MustParseBig and MustParseUint64 are now used in many places where parsing errors were previously ignored. * common: delete unused big integer variables * accounts/abi: replace uses of BytesToBig with use of encoding/binary * common: remove BytesToBig * common: remove Bytes2Big * common: remove BigTrue * cmd/utils: add BigFlag and use it for error-checked integer flags While here, remove environment variable processing for DirectoryFlag because we don't use it. * core: add missing error checks in genesis block parser * common: remove String2Big * cmd/evm: use utils.BigFlag * common/math: check for 256 bit overflow in ParseBig This is supposed to prevent silent overflow/truncation of values in the genesis block JSON. Without this check, a genesis block that set a balance larger than 256 bits would lead to weird behaviour in the VM. * cmd/utils: fixup import
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-232-6/+7
|
* whisper: interface changed to simplify the transition to v5gluk2562017-02-141-2/+2
| | | | | | | | | | | | | | | | * whisper: mailserver test introduced, refactoring * whisper: validation test updated * whisper: max number of peers fixed * whisper: verification bug fixed * whisper: esthetic fix * whisper: interface changed to simplify the transition to v5 * whisper: preparation for version switch
* accounts, cmd, internal, mobile, node: canonical account URLsPéter Szilágyi2017-02-131-3/+3
|
* accounts, cmd, eth, internal, mobile, node: split account backendsPéter Szilágyi2017-02-133-56/+82
|
* accounts, mobile: make account manager API a bit more uniformPéter Szilágyi2017-01-171-1/+1
|
* Merge pull request #3525 from fjl/all-gosimple-cleanupPéter Szilágyi2017-01-072-25/+6
|\ | | | | all: clean up lint issues, remove more dead code
| * all: fix issues reported by honnef.co/go/simple/cmd/gosimpleFelix Lange2017-01-071-24/+5
| |
| * all: gofmt -w -sFelix Lange2017-01-061-1/+1
| |
* | mobile: rename passphrase signing method to avoid Swift rewritePéter Szilágyi2017-01-062-4/+4
|/
* Merge pull request #3518 from fjl/ethclient-dependency-cleanupPéter Szilágyi2017-01-063-8/+7
|\ | | | | core/types: dependency cleanup
| * core/vm: move Log to core/typesFelix Lange2017-01-062-6/+5
| | | | | | | | | | | | | | | | This significantly reduces the dependency closure of ethclient, which no longer depends on core/vm as of this change. All uses of vm.Logs are replaced by []*types.Log. NewLog is gone too, the constructor simply returned a literal.
| * params: avoid importing p2p/discover for bootnodesFelix Lange2017-01-061-2/+2
| | | | | | | | | | params is imported by leaf-ish library packages and should not pull in the p2p stack.
* | accounts, internal, mobile: polish accounts API, extend Android testsPéter Szilágyi2017-01-052-18/+45
|/
* mobile: add SetVerbosity (#3492)Guillaume NICOLAS2017-01-031-0/+26
|
* mobile: fix ropsten chain configsPéter Szilágyi2016-12-211-1/+1
|
* mobile: iOS naming and API fixes for generators and Swift (#3408)Péter Szilágyi2016-12-0814-146/+150
| | | | | * build: modify the iOS namespace to iGeth (gomobile limitation) * mobile: assign names to return types for ObjC wrapper * mobile: use more expanded names for iOS/Swift API
* ethclient, ethereum: add NotFound, split transactions out of ChainReaderFelix Lange2016-12-051-1/+2
| | | | | | | | | ethclient now returns ethereum.NotFound if the server returns null and no error while accessing blockchain data. The light client cannot provide arbitrary transactions. The change to split transaction access into its own interface emphasizes that transactions should not be relied on and recommends use of logs.
* cmd, ethstats, les, mobile, params: native netstats (#3336)Péter Szilágyi2016-11-251-0/+19
|
* core: implemented new ropsten testnetJeffrey Wilcke2016-11-231-1/+1
|
* cmd/geth, core, light, mobile: removed state account StartingNonceJeffrey Wilcke2016-11-231-10/+0
| | | | All account's nonce start at 0.
* cmd/utils, mobile, params: set the correct field on testnet EIP 155 (#3272)Péter Szilágyi2016-11-162-1/+5
|
* cmd/utils, mobile: place bootnodes in LGPL packagesPéter Szilágyi2016-11-152-11/+11
|
* mobile: port wrappers to EIP155 and EIP158 forkPéter Szilágyi2016-11-154-28/+36
|
* travis, build: cocoapods build fixes and travis cachesPéter Szilágyi2016-11-151-1/+7
|
* accounts/abi/bind, mobile: review fixes and android testsPéter Szilágyi2016-11-151-0/+203
|
* cmd, mobile, node, p2p: surface the discovery V5 bootnodesPéter Szilágyi2016-11-152-35/+25
|
* cmd/utils, mobile: update to reprice HF and light clientPéter Szilágyi2016-11-142-25/+45
|
* .travis, build: Build step to push .aar to Maven CentralPéter Szilágyi2016-11-141-2/+2
|
* mobile: initial wrappers for mobile supportPéter Szilágyi2016-11-1421-0/+2250