serai-dex / serai

Other
265 stars 49 forks source link

Monero: expose merkle root function #629

Open Boog900 opened 1 week ago

Boog900 commented 1 week ago

This function is needed in the RPC: https://github.com/monero-project/monero/blob/893916ad091a92e765ce3241b94e706ad012b62a/src/rpc/core_rpc_server.cpp#L2172

I also made a small change to the function signature, taking all leafs in one arg,

Boog900 commented 1 week ago

Also, the monero folder has maintained a code freeze pending audit. How should we handle this?

On Cuprate's end we already vendor monero-serai, so I think the last option, having us vendor a version with select patches until the audit is complete, would probably be best.