Commit graph

1656 commits

Author SHA1 Message Date
Paul Berg
950307bc8a
Drafted text/validator and and rewritten []byte as hexutil.Bytes 2019-01-10 13:05:56 +01:00
Paul Berg
653708e59f
Drafted first version of EIP-712, including tests 2019-01-10 13:05:53 +01:00
Paul Berg
3fc520c443
Ran goimports and gofmt 2019-01-10 13:02:41 +01:00
Paul Berg
1d1c6e3c7a
Drafted recursive encodeData 2019-01-10 13:02:41 +01:00
Paul Berg
3d0e8d37fe
Changed mimes and implemented the 'encodeType' function for EIP-712 2019-01-10 13:00:36 +01:00
Paul Berg
a849bb1a70
Changed method to signTypedData 2019-01-10 12:59:46 +01:00
Paul Berg
c960cf5df7
Solved the auditlog issue 2019-01-10 12:59:46 +01:00
Paul Berg
f96a12b639
Working on TypedData 2019-01-10 12:59:46 +01:00
Paul Berg
f8d3833884
Implementing UnmarshalJSON() for TypedData 2019-01-10 12:59:44 +01:00
Paul Berg
ed01db022b
Updated the extapi changelog and addded indications in the README 2019-01-10 12:57:41 +01:00
Paul Berg
17f4f169af
Named functions and defined a basic EIP191 content type list 2019-01-10 12:51:54 +01:00
Paul Berg
161535a57d
Added types to EIP712 output in cliui 2019-01-10 12:46:40 +01:00
Paul Berg
122df20a7f
Polished and fixed PR 2019-01-10 12:46:40 +01:00
Paul Berg
1a9cbe33bd
Added example RPC calls for account_signData and account_signTypedData 2019-01-10 12:46:40 +01:00
Paul Berg
3be30e7101
Brought legal warning back after temporarily disabling it for development 2019-01-10 12:46:40 +01:00
Paul Berg
2e542c4cba
Fixed bugs in 'data/typed' signs 2019-01-10 12:46:40 +01:00
Paul Berg
9b013d74d6
Changed the property type required by signData from bytes to interface{} 2019-01-10 12:46:40 +01:00
Paul Berg
fe9f45a9e1
Solved stringified address encoding issue 2019-01-10 12:46:40 +01:00
Paul Berg
095d738d52
Drafted text/validator and and rewritten []byte as hexutil.Bytes 2019-01-10 12:46:40 +01:00
Paul Berg
0484d96325
Drafted first version of EIP-712, including tests 2019-01-10 12:46:40 +01:00
Paul Berg
a618d3706f
Ran goimports and gofmt 2019-01-10 12:46:40 +01:00
Paul Berg
7a90dc7fb0
Drafted recursive encodeData 2019-01-10 12:46:40 +01:00
Paul Berg
78ee50d8c1
Changed mimes and implemented the 'encodeType' function for EIP-712 2019-01-10 12:46:40 +01:00
Paul Berg
865e8e9f89
Changed method to signTypedData 2019-01-10 12:46:40 +01:00
Paul Berg
5f8f99a772
Solved the auditlog issue 2019-01-10 12:46:40 +01:00
Paul Berg
1414b3a814
Working on TypedData 2019-01-10 12:46:40 +01:00
Paul Berg
0d20de1a70
Implementing UnmarshalJSON() for TypedData 2019-01-10 12:46:40 +01:00
Paul Berg
46746d55f8
Changed the version of the external API 2019-01-10 12:46:00 +01:00
Paul Berg
a1b23c427a
Updated the extapi changelog and addded indications in the README 2019-01-10 12:46:00 +01:00
Paul Berg
40b7d9dffa
Named functions and defined a basic EIP191 content type list 2019-01-10 12:46:00 +01:00
Sean
428eabe28d cmd/geth: support dumpconfig optionally saving to file (#18327)
* Changed dumpConfig function to optionally save to file

* Added O_TRUNC flag to file open and cleaned up code
2019-01-07 10:56:50 +02:00
Péter Szilágyi
391d4cb9b5
Merge pull request #18390 from realdave/remove-sha3-pkg
vendor, crypto, swarm: switch over to upstream sha3 package
2019-01-04 09:51:12 +02:00
Ha ĐANG
3f421aca54 cmd/puppeth: fix panic error when export aleth genesis wo/ precompile-addresses (#18344)
* cmd/puppeth: fix panic error when export aleth genesis wo/ precompile-addresses

* cmd/puppeth: don't need to handle duplicate set
2019-01-04 09:48:15 +02:00
Dave McGregor
33d233d3e1
vendor, crypto, swarm: switch over to upstream sha3 package 2019-01-04 09:26:07 +02:00
Anton Evangelatov
9e9fc87e70
swarm: remove unused/dead code (#18351) 2018-12-23 17:31:32 +01:00
Martin Holst Swende
83a9a73b89 cmd/geth, core, eth: implement Constantinople override flag (#18273)
* geth/core/eth: implement constantinople override flag

* les: implemnent constantinople override flag for les clients

* cmd/geth, eth, les: fix typo, move flag to experimentals
2018-12-11 14:19:03 +02:00
Péter Szilágyi
38c3d88cea
cmd/puppeth: support latest docker compose, expose faucet UDP 2018-12-11 13:41:41 +02:00
Péter Szilágyi
69a8d9841a
cmd/faucet: fix faucet static peer regression 2018-12-11 13:41:18 +02:00
Elad
bb724080ca cmd/swarm, metrics, swarm/api/client, swarm/storage, swarm/metrics, swarm/api/http: add instrumentation (#18274) 2018-12-11 09:21:58 +01:00
Péter Szilágyi
31b3334922
cmd/utils, eth: minor polishes on whitelist code 2018-12-10 14:47:01 +02:00
Ryan Schneider
48b70ecff1
cmd, eth: Add support for --whitelist <blocknum>=<hash>,... flag
* Rejects peers that respond with a different hash for any of the passed in block numbers.
* Meant for emergency situations when the network forks unexpectedly.
2018-12-10 14:30:06 +02:00
Martin Holst Swende
42a914a84f
cmd/evm, core/vm, eth: implement api methods to do stdjson dump to local filesystem 2018-12-10 12:33:50 +02:00
Javier Peletier
c1d462ee5d cmd/puppeth: fix rogue quote in alethGenesisSpec JSON (#18262) 2018-12-10 11:16:19 +02:00
Péter Szilágyi
d2328b604a
Merge pull request #18211 from karalabe/drop-fd-limit
cmd/utils: max out the OS file allowance, don't cap to 2K
2018-12-07 14:10:03 +02:00
Péter Szilágyi
d4415f5e40
cmd/puppeth: chain import/export via wizard, minor polishes 2018-12-04 12:12:40 +02:00
Martin Holst Swende
8698fbabf6
cmd/puppeth: implement chainspec converters 2018-12-03 12:34:41 +02:00
Péter Szilágyi
4825d9c3dd
cmd/puppeth: enforce lowercase network names 2018-12-03 12:17:08 +02:00
Anton Evangelatov
7e7781ffaa cmd/swarm: add flag for application name (swarm or swarm-private) (#18189)
* cmd/swarm: add flag for application name (swarm or swarm-private)

* cmd/swarm/swarm-smoke: return correct exit code

* cmd/swarm/swarm-smoke: remove colorable

* remove swarm/grafana_dashboards
2018-11-29 18:43:15 +02:00
Péter Szilágyi
cf62bd2e88
cmd/utils: max out the OS file allowance, don't cap to 2K 2018-11-29 12:47:29 +02:00
Matthew Di Ferrante
3d21d455dc cmd/evm: commit statedb if dump is requested (#18208)
Add a call `statedb.Commit(true)` if the `Dump` flag is on, as otherwise the `storage` output in the dump is always empty.
2018-11-29 09:29:12 +01:00