Skip to content

Conversation

wolf31o2
Copy link
Member

Creates a pool table which tracks stake pools. The code for updating the database for pool certificates has been merged and includes updating the pool table.

Signed-off-by: Chris Gianelloni <[email protected]>
@wolf31o2 wolf31o2 requested a review from a team as a code owner April 24, 2025 23:06
ret := models.Pool{}
tmpPool := models.Pool{}
if txn != nil {
result := txn.First(&tmpPool, "pool_key_hash = ?", lcommon.Blake2b224(pkh).Bytes())
Copy link
Contributor

Choose a reason for hiding this comment

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

I created blinklabs-io/gouroboros#997 so we can avoid jumping through these hoops to get the hash bytes

@wolf31o2 wolf31o2 merged commit dabfa2a into main Apr 25, 2025
10 checks passed
@wolf31o2 wolf31o2 deleted the feat/database-pools branch April 25, 2025 01:54
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