initial refactor in preparation for routing

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-05-27 12:22:40 -07:00
parent df0377cb89
commit 31b2b5c950
19 changed files with 332 additions and 587 deletions

View File

@@ -1,6 +1,9 @@
use enostr::{FullKeypair, RelayPool};
use enostr::Keypair;
pub struct UserAccount {
pub key: FullKeypair,
pub relays: RelayPool,
}
//pub struct UserAccount {
//pub key: Keypair,
//pub relays: RelayPool,
//pub relays: Vec<String>,
//}
pub type UserAccount = Keypair;