Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wallet: Add 'wallet_stub_shachain_init' to persist shachain
This function enables direct persistence of shachain data, ensuring all relevant information is saved upon retrieval. Key Changes: - Adds 'wallet_stub_shachain_init' function to store a retrieved shachain in the database. - Saves initial metadata ('min_index' and 'num_valid') to the 'shachains' table. - Iterates through known shachain secrets, adding each entry to 'shachain_known' with position, index, and hash.
- Loading branch information