You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The roles::pool config toml accepts coinbase outputs by accepting a output_script_type and output_script_value. This output_script_value is the pool's compressed public key.
Problem
After speaking with @russeree, he mentioned it would be easier to support a coinbase address directly here. That on first look
Solution
Add support for a coinbase address in the pool config and logic.
The text was updated successfully, but these errors were encountered:
Do we want to continue to support the output_script_value? I would say yes for now, and add the coinbase address as an additional alternative option. In the future, if we see that output_script_value is not used, then could consider deprecating.
rrybarczyk
changed the title
Use of output script in pool conf not as easy as using address directly
Coinbase output script in pool conf not as easy as using address directly
Oct 10, 2024
I agree it's a bit tricky to use what we have now 👍 It caused confusion also for some people who tried the benchmarking-tool, so we should work on it.
In the meantime, I would say that we have this crate to "easily" get the pubkey from a BIP32 xpub if it can help.
Could we just use the rust bitcoin lib to fetch the address type? The use the helper functions to return the output script? This should let the user just place in an address and the process of getting the script from that would be handled.
Background
The
roles::pool
config toml accepts coinbase outputs by accepting aoutput_script_type
andoutput_script_value
. Thisoutput_script_value
is the pool's compressed public key.Problem
After speaking with @russeree, he mentioned it would be easier to support a coinbase address directly here. That on first look
Solution
Add support for a coinbase address in the pool config and logic.
The text was updated successfully, but these errors were encountered: