Skip to content

Support get revenue data from node.#126

Merged
fnordspace merged 1 commit into
mainfrom
feature/2026-06-19-request-approximate-revenue
Jun 24, 2026
Merged

Support get revenue data from node.#126
fnordspace merged 1 commit into
mainfrom
feature/2026-06-19-request-approximate-revenue

Conversation

@cyber-pc

Copy link
Copy Markdown
Collaborator

Allow request an approximate revenue from node and output to a csv file.
Node only provide raw score factors, so the cli need to replicate the revenue at the tick.

Comment thread node_utils.cpp
}
}

// Mirrors core computeMultiDimRevenue in src/revenue.h

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we have core as a submodule in the cli so no need to duplicate the code

Comment thread structs.h
};
#pragma pack(pop)

// Mirrors core RespondRevenueData (src/network_messages/revenue_data.h). Wire format must match exactly.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same here, you can directly use the struct from core (and we should refactor this for all structs currently used in the cli that were copied from core)

@fnordspace

Copy link
Copy Markdown
Contributor

Merging as is. Fixes will be implemented as separate PR

@fnordspace fnordspace merged commit 1239ba4 into main Jun 24, 2026
3 checks passed
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.

3 participants