monero-python icon indicating copy to clipboard operation
monero-python copied to clipboard

Upcoming hard fork [view tags?]

Open plowsof opened this issue 3 years ago • 7 comments

Hello, the upcoming Monero hard fork will be introducing view-tags

It would be nice to have this supported by the outputs function

plowsof avatar Apr 20 '22 14:04 plowsof

I agree it would be great. Anyone willing to submit a PR?

emesik avatar Apr 20 '22 21:04 emesik

I reached out to @j-berman who confirms that the json will appear as :

{ 
  "target": {
    "tagged_key": {
      "key": "ea3f...",
      "view_tag": "a1"
    }
  }
}

and offered his initial suggestion of how it may end up looking like - and because older transactions will not have view_tags, we must try: if one is set first. An implementation / work in progress of which can be found here

It would be also really nice to have some benchmarks done with a working implementation / simulated 'view_tag' block data, my guess is the scan time might be sped up more than 40% in python.

The PR i have made is to get the ball rolling. We can test it on testnet next month :) - i believe you are using the json-rpc wallet to construct a transaction? so i think no changes will be needed other than to support the view tags in finding outputs (i hope)

plowsof avatar Apr 20 '22 23:04 plowsof

What is the height/date of scheduled release to the testnet?

emesik avatar Apr 27 '22 20:04 emesik

So far, I rebased it and merged into the viewtags branch.

emesik avatar Apr 27 '22 20:04 emesik

Thanks!

I have read that it is usually 1 month prior to the hard fork date , so we would expect it to be 16th June, but i will confirm those details for you.

Testnet fork height will be decided in the next dev meeting https://github.com/monero-project/meta/issues/700

plowsof avatar Apr 28 '22 01:04 plowsof

Testnet hard-fork: May 16th, 2022, block 1982800 and 1983520 Stagenet hard-fork: July 9th Mainnet hard-fork: July 16th, 2022, block 2668888

plowsof avatar May 07 '22 20:05 plowsof

Thank you! I'm adding these dates into my calendar.

emesik avatar May 09 '22 12:05 emesik

Merged and released

emesik avatar Sep 27 '22 18:09 emesik