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

Request for input field to add message to block. #63

Open
brizbomb opened this issue Sep 25, 2024 · 4 comments
Open

Request for input field to add message to block. #63

brizbomb opened this issue Sep 25, 2024 · 4 comments

Comments

@brizbomb
Copy link

Request for a simple input field in settings to add message to block header or the coinbase transaction for when/if a Public Pool miner finds a block.

@janrothen
Copy link

I was looking for that setting as well.

@remcoros
Copy link
Contributor

this is already supported, see: https://github.com/benjamin-wilson/public-pool/blob/master/.env.example#L38

@brizbomb
Copy link
Author

this is already supported, see: https://github.com/benjamin-wilson/public-pool/blob/master/.env.example#L38

what is the max length of POOL_IDENTIFIER= ???

@remcoros
Copy link
Contributor

this is already supported, see: https://github.com/benjamin-wilson/public-pool/blob/master/.env.example#L38

what is the max length of POOL_IDENTIFIER= ???

not sure exactly, but the input signature of the coinbase transaction can't be over 100 bytes in total, part of it contains the encoded blockheight and length, and up to 11 bytes of padding, see:

if (script.length > MAX_SCRIPT_SIZE) {

I'd say, look at existing pool names/coinbase tx and don't go over that :)

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

No branches or pull requests

3 participants