Arithmetic circuit for
graph TD
C9 --> G1
C9 --> G1["G1(*)"]
G1 -->G2
C9 --> G2["G2(*)"]
C1 --> G3
C2 --> G3["G3(*)"]
import asyncio | |
from forest.payments_monitor import Mobster | |
mobster = Mobster() | |
##There are 2 ways to get spent txos | |
# 1 - get by txo map (I believe this works even if you import your acct to a new FS instance) | |
async def get_sent_txos_from_txo_history() -> list: | |
acct = await mobster.get_account() |
use anyhow::Result; | |
use futures::{stream::{FuturesUnordered}, StreamExt}; | |
use reqwest::Client; | |
use std::time::Instant; | |
use tokio; | |
const PARALLEL_REQUESTS: usize = 30; | |
const IMOGE_BYTES: &'static [u8] = include_bytes!("/home/imoge.jpeg"); | |
async fn post(client: &Client, url: String, bearer: &str) -> reqwest::Result<bytes::Bytes> { |
Arithmetic circuit for
graph TD
C9 --> G1
C9 --> G1["G1(*)"]
G1 -->G2
C9 --> G2["G2(*)"]
C1 --> G3
C2 --> G3["G3(*)"]
graph LR
subgraph Predictions
e[Public Predictions]
f[Private Predictions]
end
subgraph Model
c[Verified Private Model]
d[Public Model]
c-->e