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

Store Transactions in a tview.List #15

Open
wolf31o2 opened this issue Oct 24, 2023 · 0 comments
Open

Store Transactions in a tview.List #15

wolf31o2 opened this issue Oct 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@wolf31o2
Copy link
Member

Currently, we use a strings.Builder and create one big string to store our data. Let's improve this by creating a Tx struct and a []Tx slice. This will hold our full transaction info. For tview, we create a txList and display it within the main Flex.

Each loop (unless paused), we reconstruct the []Tx slice from the list of transactions in the mempool. If the user selects a transaction, we should display more information about it.

@wolf31o2 wolf31o2 added the enhancement New feature or request label Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant