Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | accounts/abi/bind: support generating bindings for various arrays | Péter Szilágyi | 2016-04-05 | 2 | -16/+67 |
| | |||||
* | abi: removed implicit type casting & refactored type parsing | Jeffrey Wilcke | 2016-04-05 | 3 | -53/+80 |
| | |||||
* | abi: accept output slices of all supported types | Jeffrey Wilcke | 2016-04-05 | 3 | -5/+143 |
| | |||||
* | abi: accept input slices of all supported types | Jeffrey Wilcke | 2016-04-05 | 5 | -145/+106 |
| | |||||
* | Merge pull request #2405 from karalabe/abigen-default-methods | Jeffrey Wilcke | 2016-04-01 | 3 | -5/+102 |
|\ | | | | | accounts/abi/bind: surface raw wrappers to access low level ops | ||||
| * | accounts/abi/bind: surface raw wrappers to access low level ops | Péter Szilágyi | 2016-04-01 | 3 | -5/+102 |
| | | |||||
* | | accounts/a/b/backends, core: chain maker homestead block set to 0 | Jeffrey Wilcke | 2016-04-01 | 1 | -2/+1 |
| | | | | | | | | | | | | | | The chain maker and the simulated backend now run with a homestead phase beginning at block 0 (i.e. there's no frontier). This commit also fixes up #2388 | ||||
* | | core: added basic chain configuration | Jeffrey Wilcke | 2016-04-01 | 1 | -3/+8 |
|/ | | | | | | | | | Added chain configuration options and write out during genesis database insertion. If no "config" was found, nothing is written to the database. Configurations are written on a per genesis base. This means that any chain (which is identified by it's genesis hash) can have their own chain settings. | ||||
* | accounts/abi/bind: support account slices, drop hash type | Péter Szilágyi | 2016-03-31 | 1 | -2/+2 |
| | |||||
* | accounts/abi/bind: merge all tests into a single suite | Péter Szilágyi | 2016-03-31 | 1 | -22/+22 |
| | |||||
* | accounts/abi/bind: use anonymous ephemeral call result structs | Péter Szilágyi | 2016-03-31 | 1 | -15/+10 |
| | |||||
* | accounts/abi/bind, cmd/abigen: dedup structs, exclude patterns | Péter Szilágyi | 2016-03-26 | 1 | -6/+6 |
| | |||||
* | accounts/abi/bind: fix double pointer in generated code | Péter Szilágyi | 2016-03-25 | 2 | -4/+36 |
| | |||||
* | accounts/abi/bind, cmd/abigen: port to templates, bind to solidity | Péter Szilágyi | 2016-03-24 | 9 | -428/+530 |
| | |||||
* | accounts/abi/bind: constructor, auth utils and various backends | Péter Szilágyi | 2016-03-24 | 9 | -263/+723 |
| | |||||
* | accounts/abi/bind, cmd/abigen: Go API generator around an EVM ABI | Péter Szilágyi | 2016-03-24 | 6 | -41/+855 |
| | |||||
* | Merge pull request #2348 from obscuren/abi-variable-input | Péter Szilágyi | 2016-03-17 | 4 | -31/+193 |
|\ | | | | | accounts/abi: Fixed bytes input accept []byte and variable input support | ||||
| * | accounts/abi: Fixed bytes input accept []byte and variable input support | Jeffrey Wilcke | 2016-03-15 | 4 | -31/+193 |
| | | | | | | | | | | | | | | | | | | Fixed up `[]byte` slice support such that `function print(bytes input)` accepts `[]byte` as input and treats it as 1 element rather than a slice of multiple elements. Added support for variable length input parameters like `bytes` and `strings`. | ||||
* | | accounts/abi: handle the "constant" modifier for functions | Péter Szilágyi | 2016-03-16 | 2 | -9/+12 |
|/ | |||||
* | all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() | Ricardo Catalinas Jiménez | 2016-02-22 | 4 | -9/+9 |
| | | | | As we aren't really using the standarized SHA-3 | ||||
* | accounts/abi: support for typed array | Jeffrey Wilcke | 2016-02-15 | 2 | -43/+114 |
| | | | | | Added support for fixed size and arbitrary length byte arrays to be marshallable in fixed size (typed) byte slices. | ||||
* | accounts/abi: fixed return tuple and string, bytes return type parsing | Jeffrey Wilcke | 2016-02-11 | 3 | -30/+363 |
| | | | | | | | | | | | | | Removed old unmarshalling of return types: `abi.Call(...).([]byte)`. This is now replaced by a new syntax: ``` var a []byte err := abi.Call(&a, ...) ``` It also addresses a few issues with Bytes and Strings and can also handle both fixed and arbitrary sized byte slices, including strings. | ||||
* | account/abi: implements event parsing | Jeffrey Wilcke | 2016-02-02 | 6 | -31/+174 |
| | | | | | | Implementation of basic event parsing and its input types. This separates methods and events and fixes an issue with go type parsing and validation. | ||||
* | rpc: migrated the RPC insterface to a new reflection based RPC layer | Bas van Kervel | 2016-01-26 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2035 from bas-vk/rcp-v2-rebase | Felix Lange | 2015-12-15 | 1 | -0/+15 |
|\ | | | | | rpc: new RPC implementation with pub/sub support | ||||
| * | rpc: new RPC implementation with pub/sub support | Bas van Kervel | 2015-12-14 | 1 | -0/+15 |
| | | |||||
* | | Merge pull request #2003 from obscuren/abi-calling | Felix Lange | 2015-12-08 | 6 | -88/+243 |
|\ \ | |/ |/| | accounts/abi: added output parsing & added call mechanism | ||||
| * | accounts/abi: added output parsing & added call mechanism | Jeffrey Wilcke | 2015-11-25 | 6 | -88/+243 |
| | | | | | | | | Added calling mechanism and return value parsing | ||||
* | | accounts: increase re-lock timeout to account for slow CI servers | Péter Szilágyi | 2015-12-01 | 1 | -1/+1 |
|/ | |||||
* | accounts/abi: ABI fixes & added types | Jeffrey Wilcke | 2015-10-30 | 3 | -21/+80 |
| | | | | | | | Changed field `input` to new `inputs`. Addad Hash and Address as input types. Added bytes[N] and N validation | ||||
* | Merge pull request #1548 from fjl/accounts-test-deflake | Jeffrey Wilcke | 2015-08-03 | 1 | -1/+2 |
|\ | | | | | accounts: bump timeout in TestSignRace | ||||
| * | accounts: bump timeout and spin less in TestSignRace | Felix Lange | 2015-08-02 | 1 | -1/+2 |
| | | | | | | | | This should fix the flakeyness. | ||||
* | | all: fix license headers one more time | Felix Lange | 2015-07-24 | 8 | -8/+8 |
|/ | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 8 | -32/+32 |
| | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | accounts: fix data race when key is locked after the unlock timeout | Felix Lange | 2015-07-21 | 2 | -20/+45 |
| | | | | | | While here, also improve the docs and speed up the tests. The tests used the scrypt keystore with ridiculous settins and took 20s each. | ||||
* | fix wallet key duplicate write - how did it get there? mystery. fixes #1411 | zelig | 2015-07-09 | 1 | -3/+0 |
| | |||||
* | all: add some godoc synopsis comments | Felix Lange | 2015-07-07 | 1 | -10/+6 |
| | |||||
* | all: remove @author comments | Felix Lange | 2015-07-07 | 1 | -6/+0 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 8 | -15/+127 |
| | |||||
* | account update: migrate or change password | zelig | 2015-07-03 | 1 | -0/+28 |
| | | | | | | * account.Update * KeyStore.Cleanup * fix dir rm for old format deleteKey | ||||
* | fix account ordering | zelig | 2015-07-03 | 2 | -5/+6 |
| | | | | | | | | * chronological order of creation * new naming scheme keystore/UTC--<created_at UTC ISO8601>-<address hex> * KeyStore2 -> KeyStore * backward compatibility * refactor keyStore methods | ||||
* | unlock multiple passes and obsolete primary | zelig | 2015-07-03 | 2 | -14/+1 |
| | | | | | | | * 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 | ||||
* | simplify account unlocking | zelig | 2015-07-03 | 2 | -56/+85 |
| | |||||
* | Introduced default unlock duration when an account is unlocked from the console | Bas van Kervel | 2015-05-14 | 1 | -0/+5 |
| | |||||
* | Use common.Address type for accounts.Address | Gustav Simonsson | 2015-05-12 | 1 | -21/+21 |
| | |||||
* | settable etherbase | zelig | 2015-03-27 | 1 | -7/+1 |
| | | | | | | | | - etherbase flag for block reward destination - coinbase => etherbase - CLI- eth Config -> eth, xeth -> RPC / Miner - use primary instead of coinbase as the unlock magic wildcard - accounts: firstAddr/Coinbase -> Primary | ||||
* | max paranoia mode to UNsupport unencrypted keys entirely | zelig | 2015-03-27 | 1 | -0/+2 |
| | | | | | | | - remove account export functionality from CLI - remove accountExport method, - remove unencrypted-keys flag from everywhere - improve documentation | ||||
* | unlocking coinbase without knowing address | zelig | 2015-03-27 | 1 | -15/+3 |
| | | | | | - accounts: remove Manager.getKey - cli: for -unlock coinbase, use account manager Coinbase() | ||||
* | cli: implement ethereum presale wallet import via cli | zelig | 2015-03-27 | 1 | -0/+12 |
| | |||||
* | unlocking coinbase | zelig | 2015-03-27 | 1 | -2/+13 |
| | | | | | - extract accounts.getKey method - if given empty address it retrieves coinbase (first account) - cli -unlock coinbase will unlock coinbase | ||||
* | import/export accounts | zelig | 2015-03-27 | 1 | -0/+20 |
| | | | | | | | | | | | - cli: add passwordfile flag - cli: change unlock flag only takes account - cli: with unlock you are prompted for password or use passfile with password flag - cli: unlockAccount used in normal client start (run) and accountExport - cli: getPassword used in accountCreate and accountImport - accounts: Manager.Import, Manager.Export - crypto: SaveECDSA (to complement LoadECDSA) to save to file - crypto: NewKeyFromECDSA added (used in accountImport and New = generated constructor) | ||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 2 | -10/+10 |
| | |||||
* | accounts: return ErrNoKeys if key directory does not exist | Felix Lange | 2015-03-10 | 1 | -2/+7 |
| | |||||
* | accounts: add {Timed,}Unlock, remove SignLocked | Felix Lange | 2015-03-10 | 2 | -55/+55 |
| | |||||
* | Merge ethereum/poc-9 into accounts-integration | Felix Lange | 2015-03-10 | 1 | -106/+0 |
|\ | | | | | | | | | | | | | | | | | | | Conflicts: cmd/utils/cmd.go cmd/utils/flags.go core/manager.go eth/backend.go rpc/http/server.go xeth/xeth.go | ||||
| * | removed | obscuren | 2015-03-08 | 1 | -106/+0 |
| | | |||||
* | | accounts: add Manager.HasAccount, delete Manager.Default | Felix Lange | 2015-03-10 | 1 | -9/+11 |
| | | |||||
* | | accounts: don't store address in unlocked and add commentary | Felix Lange | 2015-03-08 | 1 | -8/+10 |
| | | | | | | | | This was suggested during review. | ||||
* | | accounts: AccountManager -> Manager | Felix Lange | 2015-03-08 | 2 | -15/+15 |
| | | |||||
* | | accounts: prevent early drops and zero keys in memory when dropping | Felix Lange | 2015-03-08 | 1 | -19/+50 |
| | | | | | | | | | | Private keys would be locked early if SignLocked was called more than once because the unlockLater was still running. Terminate it properly. | ||||
* | | accounts: fix uses of sync.RWMutex | Felix Lange | 2015-03-08 | 1 | -4/+6 |
| | | | | | | | | | | RWMutexes must be write-locked when writing in order to actually protect the writes. | ||||
* | | accounts: use time.Duration correctly | Felix Lange | 2015-03-08 | 2 | -13/+14 |
| | | | | | | | | | | | | | | There is no point to using time.Duration if the value is interpreted as milliseconds. Callers should use the standard multiplication idiom to choose the unit. In fact, the only caller outside of the tests already does so. | ||||
* | | accounts: use pointers consistently | Felix Lange | 2015-03-08 | 2 | -16/+13 |
| | | | | | | | | | | | | | | | | Account is now always a non-pointer. This will be important once the manager starts remembering accounts. AccountManager is now always a pointer because it contains locks and locks cannot be copied. | ||||
* | | accounts, core, eth, xeth: use account manager for everything | Felix Lange | 2015-03-07 | 1 | -7/+32 |
|/ | | | | | The account manager is now responsible for picking the default account and the coinbase. | ||||
* | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-02-26 | 2 | -11/+92 |
|\ | | | | | | | | | Conflicts: accounts/account_manager.go | ||||
| * | Remove unneeded initialisation of mutex | Gustav Simonsson | 2015-02-26 | 1 | -1/+0 |
| | | |||||
| * | Address pull request comments | Gustav Simonsson | 2015-02-26 | 2 | -17/+19 |
| | | | | | | | | | | | | * Use RWMutex instead of Mutex * Use time.Duration instead of int for unlock time * Use time.After with select instead of time.Sleep | ||||
| * | Add automatic locking / unlocking of accounts | Gustav Simonsson | 2015-02-26 | 2 | -11/+90 |
| | | | | | | | | | | | | | | * Change account signing API to two sign functions; Sign without passphrase - works if account is unlocked Sign with passphrase - always works and unlocks the account * Account stays unlocked for X ms and is then automatically locked | ||||
* | | wip | obscuren | 2015-02-26 | 1 | -0/+1 |
|/ | |||||
* | Fix key store address hex decoding and accounts test | Gustav Simonsson | 2015-02-25 | 2 | -1/+17 |
| | | | | Thanks to https://github.com/jaekwon for original fix! | ||||
* | Implement OS sensitive dataDirs | Maran | 2015-02-23 | 1 | -1/+2 |
| | |||||
* | accounts: use crypto/randentropy in test | Felix Lange | 2015-02-20 | 1 | -2/+4 |
| | |||||
* | Merge branch 'key_store_and_accounts_integration' of ↵ | obscuren | 2015-01-29 | 2 | -19/+14 |
|\ | | | | | | | https://github.com/Gustav-Simonsson/go-ethereum into Gustav-Simonsson-key_store_and_accounts_integration | ||||
| * | Address pull request comments | Gustav Simonsson | 2015-01-28 | 2 | -19/+14 |
| | | | | | | | | | | | | | | | | | | * Use crypto.Sign instead of directly calling secp256k1 lib * Rename UserAccount to Account and Addr to Address (for consistency) * Change AccountManager.Sign to take ptr to Account instead of address byte array * Simplify copying of Accounts in Accounts() * PubkeyToAddress and GetEntropyCSPRNG now exported | ||||
* | | Implemented contract ABI | obscuren | 2015-01-27 | 7 | -0/+969 |
|/ | |||||
* | Add accounts package and refactor key stores | Gustav Simonsson | 2015-01-26 | 2 | -0/+118 |
* Add initial UserAccount and AccountManager structs * Add NewAccount, Sign and Accounts functions * Refactor key stores to use key address as main identifier while keeping the UUID. * Use key address as file/dir names instead of UUID |