-
Notifications
You must be signed in to change notification settings - Fork 35
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
min_ntime
field name is misleading and description can be improved
#119
Comments
In
That corresponds to the BIP23 But the accompanying text says:
For that that you should use the Of course Stratum v2 doesn't use the The
So this refers to the old Indeed the Template Provider I implemented uses the equivalent of One issue imo is that the SRI software uses a confusing variable name, Another issue is that I'm confused how the other roles are supposed to know about One option is to simply never bother with |
The spec for the Template Provider role's It SHOULD be at least the current clock time. It MUST account for consensus rules regarding the minimum timestamp, i.e. MTP + 1. It SHOULD take the timewarp rule proposed in BIP94 into account, so that future activation is safe. |
I think that this has something to do with sv2/sv1 compatibility. @jakubtrnka if I remember correctly you proposed something about that in the past, can you please double check? Ty |
While fixing a bug on SRI (stratum-mining/stratum#1325), I started to discuss with @Sjors about the
min_ntime
field, which has a misleading name.Also its description inside
NewMiningJob
,NewExtendedMiningJob
andSetCustomMiningJob
messages should be improved.Context: stratum-mining/stratum#1325 (comment)
The text was updated successfully, but these errors were encountered: