summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-22 01:44:53 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-11-22 02:01:03 -0800
commitd23df351a5413bb2575b30be740473952c88c9be (patch)
treee8091827bebfd4d1d62061936dbdcc63f2de455c
parent5c01b306219a8eacc4cd69c8e5dcbdc17aec0e53 (diff)
downloadadenosine-d23df351a5413bb2575b30be740473952c88c9be.tar.gz
adenosine-d23df351a5413bb2575b30be740473952c88c9be.zip
pds: update to use Ticker
-rw-r--r--adenosine-pds/src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/adenosine-pds/src/lib.rs b/adenosine-pds/src/lib.rs
index 6c6b1c5..ea61218 100644
--- a/adenosine-pds/src/lib.rs
+++ b/adenosine-pds/src/lib.rs
@@ -1,4 +1,4 @@
-use adenosine_cli::identifiers::{AtUri, Did, Nsid, Tid, TidLord};
+use adenosine_cli::identifiers::{AtUri, Did, Nsid, Ticker, Tid};
use anyhow::{anyhow, Result};
use askama::Template;
use libipld::Cid;
@@ -38,7 +38,7 @@ pub struct AtpService {
pub repo: RepoStore,
pub atp_db: AtpDatabase,
pub pds_keypair: KeyPair,
- pub tid_gen: TidLord,
+ pub tid_gen: Ticker,
pub config: AtpServiceConfig,
}
@@ -141,7 +141,7 @@ impl AtpService {
repo: RepoStore::open(blockstore_db_path)?,
atp_db: AtpDatabase::open(atp_db_path)?,
pds_keypair: keypair,
- tid_gen: TidLord::new(),
+ tid_gen: Ticker::new(),
config,
})
}
@@ -151,7 +151,7 @@ impl AtpService {
repo: RepoStore::open_ephemeral()?,
atp_db: AtpDatabase::open_ephemeral()?,
pds_keypair: KeyPair::new_random(),
- tid_gen: TidLord::new(),
+ tid_gen: Ticker::new(),
config: AtpServiceConfig::default(),
})
}