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

Feature Request - Add Time/date to transaction list #243

Open
rkroelin opened this issue Jan 7, 2025 · 3 comments
Open

Feature Request - Add Time/date to transaction list #243

rkroelin opened this issue Jan 7, 2025 · 3 comments
Labels
enhancement New feature or request ui Display issue

Comments

@rkroelin
Copy link

rkroelin commented Jan 7, 2025

This will help with the also requested export feature for accounting work. I guess you'd need to look up the associated block time?

Tks!

@Rigidity
Copy link
Collaborator

Rigidity commented Jan 7, 2025

Will be soon

@rkroelin
Copy link
Author

rkroelin commented Jan 7, 2025

image

@Rigidity Rigidity added enhancement New feature or request ui Display issue labels Jan 12, 2025
@geraldneale
Copy link

Suggestions as per Rigidity(https://discord.com/channels/1220144003874553986/1327073919856807956/1337545136426586223):
Use as a reference for batching db updates for a new "blocktime_queue":
https://github.com/xch-dev/sage/blob/main/crates/sage-wallet/src/queues/puzzle_queue.rs#L58-L71

puzzle_queue does 5 per peer because each one can only do so many requests at once, but if you're connected to 5 peers you can do it 5 times as fast essentially.

So I would:
Fetch up to peer_count * 5 un-timestamped block heights from the database somehow
For each peer, fetch all 5 in parallel
After it's all done, collect the results and insert into the db
Then wait a second and repeat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ui Display issue
Projects
Status: No status
Development

No branches or pull requests

3 participants