Skip to content

Instantly share code, notes, and snippets.

View hdevalence's full-sized avatar

Henry de Valence hdevalence

View GitHub Profile
{
"height": "5767",
"id": {
"inner": "DelH1JGp1utG1MIjtd06Rz8w5D2OEnV9I3RRfWsq4E4="
},
"transaction": {
"body": {
"actions": [
{
"output": {
@hdevalence
hdevalence / gist:9fa0430c805f8d04e5eab59c78098fb9
Created January 25, 2023 23:17
hex of known valid penumbra transaction
0acc260acd170aca170a680a220a206c6a96255acfeb4bff334872f4dbaf8e337b226371bfffbacb5de6217b9754031a202fc8c268c2f27b96ca4c03801c37c242819a3412b16a2c424c00255a50809e0e222078ad2a4c5d850cef96bf33d0de06676e736c31c5526b6162505c2df0685a570712420a4018665de53be16d8afbf6c72c9c8cb5e897925ee3b284c5a6d8c6bbc7a3c08409ec041d0fea6f0d5d87cfe691f965c8c9d6e7c7a92d3f6933378bdef2f12d83011a99160ae6130a220a20049302d77fdae15d8359397d141aae88a89e07929cf828f7212959843f4f320c10181a660a200000000000000000000000000000000000000000000000000000000000000000122000000000000000000000000000000000000000000000000000000000000000001a2000000000000000000000000000000000000000000000000000000000000000001a660a200000000000000000000000000000000000000000000000000000000000000000122000000000000000000000000000000000000000000000000000000000000000001a2000000000000000000000000000000000000000000000000000000000000000001a660a200000000000000000000000000000000000000000000000000000000000000000122000000000000000000000000000000000000000000000000000000000000000001a200000000000
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml
# NOTE: Any path below can be absolute (e.g. "/var/myawesomeapp/data") or
# relative to the home directory (e.g. "data"). The home directory is
# "$HOME/.tendermint" by default, but could be changed via $TMHOME env variable
# or --home cmd flag.
#######################################################################
### Main Base Config Options ###
tendermint-node0 | 2022-06-07T08:17:05Z INFO starting service impl=multiAppConn module=proxy service=multiAppConn
tendermint-node0 | 2022-06-07T08:17:05Z INFO starting service connection=query impl=socketClient module=abci-client service=socketClient
tendermint-node0 | 2022-06-07T08:17:05Z INFO starting service connection=snapshot impl=socketClient module=abci-client service=socketClient
tendermint-node0 | 2022-06-07T08:17:05Z INFO starting service connection=mempool impl=socketClient module=abci-client service=socketClient
tendermint-node0 | 2022-06-07T08:17:05Z INFO starting service connection=consensus impl=socketClient module=abci-client service=socketClient
tendermint-node0 | 2022-06-07T08:17:05Z INFO starting service impl=EventBus module=events service=EventBus
tendermint-node0 | 2022-06-07T08:17:05Z INFO starting service impl=PubSub module=pubsub service=PubSub
tendermint-node0 | 2022-06-07T08:17:05Z INFO starting service impl=IndexerService module=txindex service=IndexerService
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml
# NOTE: Any path below can be absolute (e.g. "/var/myawesomeapp/data") or
# relative to the home directory (e.g. "data"). The home directory is
# "$HOME/.tendermint" by default, but could be changed via $TMHOME env variable
# or --home cmd flag.
#######################################################################
### Main Base Config Options ###
2022-05-10T19:04:16.080917Z INFO pd::mempool::worker: resetting ephemeral mempool state height=191
2022-05-10T19:04:16.080941Z DEBUG penumbra_storage::storage: creating state for version 191
2022-05-10T19:04:20.861662Z DEBUG abci:BeginBlock{height=192}:begin_block:staking:track_uptime: penumbra_stake::component: recorded vote info voted=true num_missed_blocks=19 identity_key=penumbravalid1tfh43sz3jcj0zarcgfxpfw38km96vs6c3srvpaczxhxruqngwcfqu48kgv params.missed_blocks_maximum=250
2022-05-10T19:04:20.864298Z DEBUG abci:BeginBlock{height=192}:begin_block:staking:track_uptime: penumbra_stake::component: recorded vote info voted=true num_missed_blocks=70 identity_key=penumbravalid10meak7pngg580r57fpvclrrzvaf8da56nayejxssv50w85anngfqf2h8yg params.missed_blocks_maximum=250
2022-05-10T19:04:20.980323Z DEBUG abci:CheckTx{kind=New txid="9269a198653b0d0690febe34345618491e3a87ad5d6d4b0466cad68c41db5400"}:check_tx_stateful:shielded_pool: penumbra_shielded_pool::component: anchor is valid anchor=merkle::Root("e25997b573d7
@hdevalence
hdevalence / gist:e32cec0df27955c5d0cf191c9ffe39b3
Created April 21, 2022 13:08
tendermint logs from syncing against testnet-next.penumbra.zone
~/c/p/penumbra (main|…) $ tendermint start
2022-04-21T15:07:33+02:00 INFO starting service impl=multiAppConn module=proxy service=multiAppConn
2022-04-21T15:07:33+02:00 INFO starting service connection=query impl=socketClient module=abci-client service=socketClient
2022-04-21T15:07:33+02:00 INFO starting service connection=snapshot impl=socketClient module=abci-client service=socketClient
2022-04-21T15:07:33+02:00 INFO starting service connection=mempool impl=socketClient module=abci-client service=socketClient
2022-04-21T15:07:33+02:00 INFO starting service connection=consensus impl=socketClient module=abci-client service=socketClient
2022-04-21T15:07:33+02:00 INFO starting service impl=EventBus module=events service=EventBus
2022-04-21T15:07:33+02:00 INFO starting service impl=PubSub module=pubsub service=PubSub
2022-04-21T15:07:34+02:00 INFO starting service impl=IndexerService module=txindex service=IndexerService
2022-04-21T15:07:34+02:00 INFO ABCI Handshake App Info hash="\x00\x00\x00\x00\x00\x00\x00\x0
@hdevalence
hdevalence / gist:35c8970d94b64269401ff65ff22c42ab
Created March 31, 2022 21:43
pd logs chainparams read error
Finished release [optimized] target(s) in 32.33s
Running `target/release/pd start -d 'postgres://postgres:postgres@0.0.0.0:5432/penumbra' -r ./rocksdb/`
Mar 31 14:41:55.859 INFO pd: starting pd host="127.0.0.1" database_uri="postgres://postgres:postgres@0.0.0.0:5432/penumbra" abci_port=26658 light_wallet_port=26666 thin_wallet_port=26667
Mar 31 14:41:55.927 INFO new{uri="postgres://postgres:postgres@0.0.0.0:5432/penumbra"}: pd::state: running migrations
Mar 31 14:41:55.940 INFO new{uri="postgres://postgres:postgres@0.0.0.0:5432/penumbra"}: pd::state: finished initializing state
Mar 31 14:41:55.970 INFO pd::storage: opening rocksdb path="./rocksdb/"
Mar 31 14:41:55.978 DEBUG jmt: key_hash=KeyHash("8b156d81521bdf3774159bac12864925dfc2f5e621550457b16dba9416fd8fd7") key=b"shielded_pool/nct_data"
Mar 31 14:41:55.978 DEBUG pd::storage: node_key=NodeKey { version: 0, nibble_path: } value=None
Mar 31 14:41:58.139 INFO abci:Info: pd::info: info=Info { version: "v0.35.0-rc4", block_version: 11, p2p_versi
~/c/p/penumbra (env-in-freshstart|✚1…) $ cargo run --release --bin pcli -- -n 127.0.0.1 wallet reset
Compiling pcli v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/pcli)
Compiling penumbra-proto v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/proto)
Compiling penumbra-crypto v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/crypto)
Compiling penumbra-stake v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/stake)
Compiling penumbra-chain v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/chain)
Compiling penumbra-transaction v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/transaction)
Compiling penumbra-wallet v0.1.0 (/Users/hdevalence/code/penumbra/penumbra/wallet)
Finished release [optimized] target(s) in 18.59s
Running `target/release/pcli -n 127.0.0.1 wallet reset`
@hdevalence
hdevalence / main.rs
Created November 24, 2021 01:56
download every crate
use std::path::PathBuf;
use futures::{stream::FuturesUnordered, StreamExt};
use git2::Repository;
use serde::Serialize;
use structopt::StructOpt;
#[derive(Debug, StructOpt)]
#[structopt(
name = "get-all-crates",