plugeth/signer/core
Martin Holst Swende 5f94f8c7e7 signer: change the stdio jsonrpc to use legacy namespace conventions (#19047)
This PR will will break existing UIs, since it changes all calls like ApproveSignTransaction to be on the form ui_approveSignTransaction.

This is to make it possible for the UI to reuse the json-rpc library from go-ethereum, which uses this convention.

Also, this PR removes some unused structs, after import/export were removed from the external api (so no longer needs internal methods for approval)

One more breaking change is introduced, removing passwords from the ApproveSignTxResponse and the likes. This makes the manual interface more like the rulebased interface, and integrates nicely with the credential storage. Thus, the way it worked before, it would be tempting for the UI to implement 'remember password' functionality. The way it is now, it will be easy instead to tell clef to store passwords and use them.

If a pw is not found in the credential store, the user is prompted to provide the password.
2019-03-07 11:56:08 +02:00
..
abihelper_test.go signer, clef: implement EIP191/712 (#17789) 2019-02-06 08:30:49 +01:00
abihelper.go signer/core: handle JSON unmarshal error (#19123) 2019-02-19 10:48:19 +02:00
api_test.go signer: change the stdio jsonrpc to use legacy namespace conventions (#19047) 2019-03-07 11:56:08 +02:00
api.go signer: change the stdio jsonrpc to use legacy namespace conventions (#19047) 2019-03-07 11:56:08 +02:00
auditlog.go clef: bidirectional communication with UI (#19018) 2019-02-12 17:38:46 +01:00
cliui.go signer: change the stdio jsonrpc to use legacy namespace conventions (#19047) 2019-03-07 11:56:08 +02:00
signed_data_test.go signer: change the stdio jsonrpc to use legacy namespace conventions (#19047) 2019-03-07 11:56:08 +02:00
signed_data.go signer: change the stdio jsonrpc to use legacy namespace conventions (#19047) 2019-03-07 11:56:08 +02:00
stdioui.go signer: change the stdio jsonrpc to use legacy namespace conventions (#19047) 2019-03-07 11:56:08 +02:00
types.go clef: documentation generator + docs (#19020) 2019-02-13 21:37:59 +01:00
uiapi.go clef: bidirectional communication with UI (#19018) 2019-02-12 17:38:46 +01:00
validation_test.go signer/core: remove unused function (#19099) 2019-02-18 12:10:28 +01:00
validation.go cmd/clef, signer: security fixes (#17554) 2018-09-25 15:54:58 +02:00