From 3295c03d455b89657f48f8491cb3c60c5e4fab0c Mon Sep 17 00:00:00 2001 From: microwavedcola1 Date: Thu, 14 Apr 2022 12:42:13 +0200 Subject: [PATCH] todos Signed-off-by: microwavedcola1 --- keeper/src/main.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/keeper/src/main.rs b/keeper/src/main.rs index f3f790ef0..6e3a7146c 100644 --- a/keeper/src/main.rs +++ b/keeper/src/main.rs @@ -16,6 +16,13 @@ use solana_sdk::{ }; use tokio::time; +// TODO +// - may be nice to have one-shot cranking as well as the interval cranking +// - doing a gPA for all banks call every 10millis may be too often, +// might make sense that we maintain a service when users should query group for changes +// - I'm really annoyed about Keypair not being clonable. Seems everyone works around that manually. Should make a PR to solana to newtype it and provide that function. +// keypair_from_arg_or_env could be a function + /// Wrapper around anchor client with some mango specific useful things pub struct MangoClient { pub program: Program,