DEBUG - Server listening on 127.0.0.1:4224
DEBUG - Running accept thread
INFO - NetworkInfo { version: 210202, subversion: "/LitecoinCore:0.21.2.2/", relayfee: 1e-5 }
INFO - BlockchainInfo { chain: "main", blocks: 2912010, headers: 2912010, bestblockhash: "185133f403be40de68e6668ef5f6094614fb9461e7858e37657923233d848043", pruned: false, verificationprogress: 0.99999976, initialblockdownload: Some(false) }
DEBUG - opening DB at "/mempool/electrs-ltc/db/mainnet/newindex/txstore"
DEBUG - 2912046 blocks were added
DEBUG - opening DB at "/mempool/electrs-ltc/db/mainnet/newindex/history"
DEBUG - 2912046 blocks were indexed
DEBUG - opening DB at "/mempool/electrs-ltc/db/mainnet/newindex/cache"
This file contains hidden or 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
{ | |
"onboarding": { | |
"forgot_pin": "Ke harruar kodin PIN?", | |
"forgot_pin_description": "Ke harruar kodin PIN?\nShkruj seed phrase-in (24 fjalët) për të rivendosur kodin PIN.", | |
"enter_pin": "Vendos kodin PIN", | |
"reenter_pin": "Vendos kodin PIN", | |
"attempts_left_one": "{{count}} tentativë e mbetur.", | |
"attempts_left_other": "{{count}} tentativa të mbetura.", | |
"for_litecoin": "PËR LITECOIN", | |
"create_wallet": "Krijo Portofolin", |
This file contains hidden or 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 React, {useEffect, useRef, useState} from 'react'; | |
import {View, StyleSheet, TouchableOpacity, Image} from 'react-native'; | |
import WebView from 'react-native-webview'; | |
import DeviceInfo from 'react-native-device-info'; | |
import {TransitionPresets} from '@react-navigation/stack'; | |
import {RouteProp, useNavigation} from '@react-navigation/native'; | |
import Header from '../components/Header'; | |
import HeaderButton from '../components/Buttons/HeaderButton'; |
This file contains hidden or 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
const selectUtxosForConversion = ( | |
utxos: Utxo[], | |
amount: number, | |
): Accumulator => { | |
return utxos.reduce<Accumulator>( | |
({selectedUtxos, totalAmountSat}, utxo) => { | |
if (totalAmountSat >= amount) { | |
return {selectedUtxos, totalAmountSat}; | |
} | |
return { |
This file contains hidden or 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
// Validation library from: https://github.com/ruigomeseu/bitcoin-address-validation | |
// Copyright (c) 2018 Rui Gomes [email protected] | |
import {base58_to_binary} from 'base58-js'; | |
import {bech32} from 'bech32'; | |
import {createHash} from 'sha256-uint8array'; | |
const sha256 = (payload: Uint8Array) => createHash().update(payload).digest(); | |
enum Network { | |
mainnet = 'mainnet', |
This file contains hidden or 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
{ | |
"onboarding": { | |
"forgot_pin": "Mot de passe oublié ?", | |
"forgot_pin_description": "Forgot your Pincode?\nEnter your seed phrase to reset your pincode.", | |
"enter_pin": "Entrez votre code PIN", | |
"attempts_left_one": "{{count}} attempt left.", | |
"attempts_left_other": "{{count}} attempts left.", | |
"for_litecoin": "FOR LITECOIN", | |
"create_wallet": "Create Wallet", | |
"already_wallet": "Already have a wallet? Log In", |
This file contains hidden or 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
{ | |
"onboarding": { | |
"forgot_pin": "Forgot Pincode?", | |
"forgot_pin_description": "Forgot your Pincode?\nEnter your seed phrase to reset your pincode.", | |
"enter_pin": "Enter your PIN", | |
"reenter_pin": "Re-enter your PIN", | |
"attempts_left_one": "{{count}} attempt left.", | |
"attempts_left_other": "{{count}} attempts left.", | |
"for_litecoin": "FOR LITECOIN", | |
"create_wallet": "Create Wallet", |
This file contains hidden or 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
{ | |
"onboarding": { | |
"forgot_pin": "Zapomniałeś/aś PINu?", | |
"forgot_pin_description": "", // Forgot your Pincode?\nEnter your seed phrase to reset your pincode. | |
"enter_pin": "Wpisz swój PIN", | |
"attempts_left_one": "Pozostały {{count}} próby.", | |
"attempts_left_other": "Pozostały {{count}} próby.", | |
"for_litecoin": "", // FOR LITECOIN | |
"create_wallet": "", // Create Wallet | |
"already_wallet": "", // Already have a wallet? Log In |
Codesign binary
$ ./detached-sig-create.sh <PATH_TO_P12>
$ tar xf signature-osx.tar.gz
$ signapple apply ./dist/Litecoin-Qt.app osx/dist
Setup notarytool (once only)
$ xcrun altool --list-providers -u "<APPLE_ID_EMAIL>" -p "@keychain:<apple-id-notarisation-app-specific-password>"
This file contains hidden or 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
/* eslint-disable radix */ | |
import BigNumber from 'bignumber.js'; | |
import BIP32Factory, { BIP32Interface } from 'bip32'; | |
import bs58check from 'bs58check'; | |
import * as ecc from 'tiny-secp256k1'; | |
import { Buffer } from 'buffer'; | |
import crypto from 'crypto'; |
NewerOlder