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
Add the ability to add a coinbase extra to the coinbases. Each miner can supply their coinbase extra and broadcast it as part of the share.
Squad data
The squad data must not be included in the coinbase extra when broadcasting shares, but when the local p2pool gets the template, it should add the squad to it's own coinbase using the following format:
1 byte 0xFF to say we are using Type-Length-Value
1 byte: 0x02 Type marker for squad
1 byte: The length of the squad-id, n n bytes: The squad id
To accommodate other custom messages, like the coinbase the miner would have included if it were solo mined, we should also append this at the end.
1 byte: 0x01 Type marker for custom message
1 byte: length of custom message m m bytes: custom message.
The text was updated successfully, but these errors were encountered:
Description
---
Coinbase extra field is cached now (locally) and use other miners'
coinbase extra when possible from share chain for their shares.
Motivation and Context
---
Coinbase extra field was not supported to be passed to p2pool before, so
in order to let miners pass any extra data they want, we need to be able
to do that.
Specs for the format of p2pool coinbase extra field:
#56
How Has This Been Tested?
---
What process can a PR reviewer use to test or verify this change?
---
<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release
notes? The title, excluding the conventional commit
tag, will be included exactly as is in the CHANGELOG, so please think
about it carefully. -->
Breaking Changes
---
- [ ] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [x] Other - Please specify - P2pool should be updated at all clients
Add the ability to add a coinbase extra to the coinbases. Each miner can supply their coinbase extra and broadcast it as part of the share.
Squad data
The squad data must not be included in the coinbase extra when broadcasting shares, but when the local p2pool gets the template, it should add the squad to it's own coinbase using the following format:
1 byte 0xFF to say we are using Type-Length-Value
1 byte: 0x02 Type marker for squad
1 byte: The length of the squad-id,
n
n
bytes: The squad id1 byte: 0x01 Type marker for custom message
1 byte: length of custom message
m
m
bytes: custom message.The text was updated successfully, but these errors were encountered: