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

"reward" vs "snode" payment types shouldn't be a distinction #1595

Open
jagerman opened this issue Sep 8, 2022 · 1 comment
Open

"reward" vs "snode" payment types shouldn't be a distinction #1595

jagerman opened this issue Sep 8, 2022 · 1 comment

Comments

@jagerman
Copy link
Member

jagerman commented Sep 8, 2022

Wallet2 currently has this logic for coinbase txes:

      if (vout_index == 0) entry.type = wallet::pay_type::miner;
      else entry.type = wallet::pay_type::service_node;

so as a result, even before HF10, you'd sometimes see "miner" and sometimes "snode" depending on whether you were earning as the block producer or a later recipient. In HF10 we renamed "miner" to "reward" in the output, but that just means you now see "reward" or "snode" depending on whether you were the first wallet receiving a payment in a batch reward.

(This logic goes back to pre-snode days, when the first output was the miner wallet and later outputs were service node payments).

@mdPlusPlus
Copy link

This seems related to this issue: oxen-io/oxen-electron-gui-wallet#285

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

2 participants