pacu / zwcd

Zcash Wallet Community Developer tasks
MIT License
2 stars 0 forks source link

Create SFoE Dataset #16

Closed pacu closed 10 months ago

pacu commented 11 months ago

Create Second Flush of Enthusiasm dataset for Darksidewalletd

https://github.com/zingolabs/darksidewalletd-datasets/issues/5

pacu commented 10 months ago

In progress with many bumps on the road.

Zingo apparently won't start on regtest mode standalone to generate the addresses for mining and syncing the wallets quickly.

zcash-uni-ffi bindings don't support regtest mode (opened an issue https://github.com/eigerco/uniffi-zcash-lib/issues/134)

pacu commented 10 months ago

First pass of the script pull request

https://github.com/zingolabs/darksidewalletd-datasets/pull/8

pacu commented 10 months ago

I added a few more commits to the PR I'm working on. I'm already being able to set up de SFoE blocks in the docker container. I'm working with 100 blocks in total right now but it will be configurable to whatever we like.

https://github.com/zingolabs/darksidewalletd-datasets/pull/8

Then I'm making scripts to generate the darksidewalletd data from the blockchain set up by the test generator script.

the idea of this is to actually have scripts to recreate the datasets when there are transaction format changes easily or any other modification we want to make, also to set up the tests in a running container for live integrations as well.

pacu commented 10 months ago

Reported bug when testing the generation script https://github.com/zcash/zcash/issues/6750

pacu commented 10 months ago

SFoE elements generate on a 210 block dataset to create the SFoE synthetically with Darksidewalletd

pacu commented 10 months ago

Created 1K test for Regtest and scripts to spin up the 100K test