The Mina Indexer is a redesigned version of the software collectively called the "Mina archive node."
Note: As the project is in active development, be aware that the
use anyhow::anyhow; | |
use crossbeam_channel::{bounded, Receiver}; | |
use glob::glob; | |
use mina_indexer::block::precomputed::{BlockLogContents, PrecomputedBlock}; | |
use mina_indexer::display_duration; | |
use mina_indexer::state::ledger::genesis::{parse_file, GenesisLedger, GenesisRoot}; | |
use notify::{Config, EventKind, RecommendedWatcher, RecursiveMode, Watcher}; | |
use rocksdb::{ColumnFamilyDescriptor, Options, WriteBatch, DB}; | |
use serde_derive::{Deserialize, Serialize}; | |
use std::path::{Path, PathBuf}; |
The Mina Indexer is a redesigned version of the software collectively called the "Mina archive node."
Note: As the project is in active development, be aware that the
# cloned from https://gist.github.com/jrwashburn/a46f67dd49500842b13638af85c35a63 | |
# Modifed for MIP4 voting | |
from gql import gql, Client | |
from gql.transport.aiohttp import AIOHTTPTransport | |
# Select your transport with a defined url endpoint | |
transport = AIOHTTPTransport(url="https://graphql.minaexplorer.com") | |
# Create a GraphQL client using the defined transport |
# cloned from https://gist.github.com/jrwashburn/a46f67dd49500842b13638af85c35a63 | |
# Modifed for MIP3 voting | |
from gql import gql, Client | |
from gql.transport.aiohttp import AIOHTTPTransport | |
# Select your transport with a defined url endpoint | |
transport = AIOHTTPTransport(url="https://graphql.minaexplorer.com") | |
# Create a GraphQL client using the defined transport |
This configuration creates an encrypted S3 bucket to store your terraform state with versioning. This bucket is required if you want to store terraform state in the AWS cloud.
import java.util.ArrayList; | |
public class Main { | |
private static int TARGET_SUM = 100; | |
private static int[] VALUES = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }; | |
static ArrayList<String> add(int digit, String sign, ArrayList<String> branches) { | |
for (int i = 0; i < branches.size(); i++) { | |
branches.set(i, digit + sign + branches.get(i)); |
version: '2.1' | |
services: | |
transmission: | |
container_name: transmission | |
image: dperson/transmission | |
restart: unless-stopped | |
depends_on: | |
- plex | |
network_mode: host | |
environment: |
~/projects/monero/monero/build/Darwin/zeromq-rpc/release/bin/monerod --testnet | |
2018-10-18 19:56:57,846 INFO [default] Page size: 4096 | |
2018-10-18 19:56:58.852 0x7fff89c06380 INFO global src/daemon/main.cpp:287 Monero 'Beryllium Bullet' (v0.13.0.3-release) | |
2018-10-18 19:56:58.852 0x7fff89c06380 INFO global src/daemon/protocol.h:53 Initializing cryptonote protocol... | |
2018-10-18 19:56:58.852 0x7fff89c06380 INFO global src/daemon/protocol.h:58 Cryptonote protocol initialized OK | |
2018-10-18 19:56:58.852 0x7fff89c06380 INFO global src/daemon/p2p.h:63 Initializing p2p server... | |
2018-10-18 19:57:02.832 0x7fff89c06380 INFO global src/daemon/p2p.h:68 p2p server initialized OK | |
2018-10-18 19:57:02.834 0x7fff89c06380 INFO global src/daemon/rpc.h:63 Initializing core RPC server... | |
2018-10-18 19:57:02.834 0x7fff89c06380 INFO global contrib/epee/include/net/http_server_impl_base.h:76 Binding on 127.0.0.1:28 |