Function tuxedo_template_wallet::sync::synchronize_helper
source · pub(crate) async fn synchronize_helper<F: Fn(&OuterVerifier) -> bool, C: ConstraintChecker>(
db: &Db,
client: &HttpClient,
filter: &F
) -> Result<()>
Expand description
Synchronize the local database to the database of the running node. The wallet entirely trusts the data the node feeds it. In the bigger picture, that means run your own (light) node.