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

Add sender address field in transaction table #23

Open
Snedashkovsky opened this issue Jan 26, 2023 · 0 comments
Open

Add sender address field in transaction table #23

Snedashkovsky opened this issue Jan 26, 2023 · 0 comments

Comments

@Snedashkovsky
Copy link
Member

  • Add sender address field in transaction table for speeding up query execution. It can be gotten from a public key.
  • Add new index by sender address and height fields in transaction table

Example of python code from @SaveTheAles

from cyberpy import _wallet
import base64
_wallet.pubkey_to_address(
    base64.decodebytes(
        b"AsdllWW5pBura9/4QvgdG+AivcuurPgxL/UV2g/N+a4w"
    )
)
'bostrom1g70uv8y47s5pn07n4gtgakz278vps228r9emvt'
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

No branches or pull requests

1 participant