Skip to content

Instantly share code, notes, and snippets.

View leto's full-sized avatar
🐉
The Blocks Must Flow

Duke Leto leto

🐉
The Blocks Must Flow
View GitHub Profile
@leto
leto / hush-value.md
Created May 15, 2020 09:46
What Drives the Value of Hush?

What Drives the Value/Price of Hush?

Miners

Firstly there are ASIC miners, which will not sell HUSH for anything less than their cost to mine it. HUSH is compatible with the same miners as ZEC, ZEN, KMD, ARRR and a few other coins, so very large farms have the potential to switch to the Hush network. Autoswitching software does this automatically for large miners.

Miners also have capital costs, the cost of the mining equipment. When they buy new equipment, they are more likely to sell and less likely to HODL, until they break even.

@leto
leto / zec-milktoast.md
Last active May 14, 2020 16:25
Zcash Mainnet Milktoast Privacy

Zcash Shielded Supply is less than 0.5%

This command shows a transparent supply of 8.7M ZEC:

./zcash-cli gettxoutsetinfo
{
  "height": 830867,
  "bestblock": "0000000002b0ef5add3356f537eb4f6ef0c6d32f7ac0928d7c3e84f326fb8be7",
 "transactions": 1045827,
@leto
leto / sd.md
Created April 25, 2020 13:57
Making SilentDragon 0.9.1 release
~/git/SilentDragon$ APP_VERSION=0.9.1 HUSH_DIR=~/git/hush3/src QT_STATIC=~/src/5.14.0/static ./src/scripts/mkrelease.sh 
Cleaning...............[OK]

[Building on Release: 18.04]
Configuring............[OK]
Building...............Makefile:7200: warning: overriding recipe for target 'src/ui_viewalladdresses.h'
Makefile:7192: warning: ignoring old recipe for target 'src/ui_viewalladdresses.h'
Makefile:7678: warning: overriding recipe for target 'src/ui_viewalladdresses.h'
Makefile:7200: warning: ignoring old recipe for target 'src/ui_viewalladdresses.h'
@leto
leto / sd.md
Last active April 22, 2020 23:22
SD 0.9.1

SilentDragon 0.9.1 Release Notes

This release embeds Hush 3.3.2, the latest full node release.

  • Animations! You will notice we have awesome custom animations during startup, sending a traansaction and shutting down :)
  • New languages: Filipino (FIL), Bulgarian (BG), Indonesian (ID)
  • New hushd CLI options are now config settings:
    • Shielded index (-zindex)
    • Sapling Consolidation (-consolidation)
  • Transaction Deletion (-deletetx)
@leto
leto / arrow.md
Created April 17, 2020 11:59
Arrow issues

On the arrow_zindex branch:

$ ./arrowd -zindex

terminate called after throwing an instance of 'std::runtime_error' what(): tinyformat: Not enough conversion specifiers in format string Aborted (core dumped)

This avoids the issue:

@leto
leto / arrow.md
Last active April 15, 2020 14:29
Arrow zindex testing plan

We want to test -zindex under a few different situations:

  • Fresh datadir with a clean fresh run: arrowd -zindex
  • Partial sync with existing datadir: arrowd -zindex
  • Partial sync, existing datadir and changing the value from off to on, which requires a reindex: arrowd -zindex -reindex

Additionally, it's good to test under Ubuntu 16 and 18 (if both are supported) as well as Windows+Mac.

@leto
leto / sodium.c
Created February 23, 2020 14:30
libsodium file encryption example
#include <stdio.h>
#include <sodium.h>
#define CHUNK_SIZE 4096
static int
encrypt(const char *target_file, const char *source_file,
const unsigned char key[crypto_secretstream_xchacha20poly1305_KEYBYTES])
{
@leto
leto / z2z.md
Last active May 6, 2020 18:50
Going z2z Checklist

Hush z2z

  • z2z open source Discord tipbot
  • At least 2 exchanges supporting zaddrs
    • Citex
    • SafeTrade?
  • Web wallet helps/docs
  • General overview description on dedicated myhush.org page
@leto
leto / stuff.txt
Created January 31, 2020 12:04
SDA translation
gilardhLast Monday at 5:05 PM
@dukeleto I don't have create documentation for how to add new language. We must use this base : https://github.com/MyHush/SilentDragonAndroid/blob/master/app/src/main/res/values/strings.xml
Then you must create a folder 'values-' + LANGUAGE in the folder 'res' and place the file 'strings.xml' which has been translated.
After the choice of language is automatic depending on the language of the phone.
If the phone language is not found, it chooses English by default.
'values-fr' contains the French translation and 'values' contains the English translation.
gilardhLast Monday at 5:23 PM