graph LR
subgraph Predictions
e[Public Predictions]
f[Private Predictions]
end
subgraph Model
c[Verified Private Model]
d[Public Model]
c-->e
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Arithmetic circuit for
graph TD
C9 --> G1
C9 --> G1["G1(*)"]
G1 -->G2
C9 --> G2["G2(*)"]
C1 --> G3
C2 --> G3["G3(*)"]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |