Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PAN-3139] Add privDistributeRawTransaction endpoint #23

Merged
merged 10 commits into from
Sep 22, 2019

Conversation

josh-richardson
Copy link
Contributor

PR description

As a user I want to be able to submit and sign my private transaction and my privacy marker transaction separately. This allows finer grained control over where the signing keys are stored and the signing is done for each transaction.

Add priv_distributeRawTransaction endpoint. This endpoint will pass the private transaction to Orion to encrypt and distribute to all participants

Parameters - signed, RLP-encoded private transaction as for eea_sendRawTransaction. privateFor is either a list of Orion public keys or privacy group ID

Returns - Private Transaction hash when private transaction successfully distributed to all participants. Otherwise returns an error.

This is steps 1 - 5 on this diagram (eea_sendRawTransaction would be priv_distributeRawTransaction) - https://docs.pantheon.pegasys.tech/en/latest/Concepts/Privacy/Private-Transaction-Processing/

Note: This endpoint is in addition to not replacing eea_sendRawTransaction.

Signed-off-by: Joshua Richardson <joshua@richardson.tech>
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
@lucassaldanha lucassaldanha self-assigned this Sep 19, 2019
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
Signed-off-by: Joshua Richardson <joshua@richardson.tech>
Copy link
Member

@lucassaldanha lucassaldanha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lucassaldanha lucassaldanha merged commit b8fa2be into hyperledger:master Sep 22, 2019
edwardmack added a commit that referenced this pull request Feb 20, 2020
* Update SLOAD_GAS cost to 200 in Aztlan Gas Calculator

Change SLOAD_GAS cost in Aztlan Gas Calculator from 800 to 200 and
update functions that use SLOAD_GAS.

Signed-off-by: edwardmack <ed@edwardmack.com>

* Update SLOAD_GAS cost to 200 in Aztlan Gas Calculator

Change SLOAD_GAS cost in Aztlan Gas Calculator from 800 to 200 and
update functions that use SLOAD_GAS.

Signed-off-by: edwardmack <ed@edwardmack.com>
Signed-off-by: Edward Mack <ed@edwardmack.com>

* remove overrides

removed overrides of calculateStorageCost and
calculateStorageRefundAmount in AztlanGasCalculator because these were
causing aztlan fork not to sync with kotti testnet.

Signed-off-by: Edward Mack <ed@edwardmack.com>

* merge

Signed-off-by: Edward Mack <ed@edwardmack.com>
garyschulte pushed a commit to garyschulte/besu that referenced this pull request Jan 5, 2024
fab-10 added a commit to fab-10/besu that referenced this pull request Jan 10, 2024
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
fab-10 added a commit to fab-10/besu that referenced this pull request Jan 10, 2024
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants