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
/** | |
* MWEB Fee Calculator for Litecoin | |
* Based on Litecoin Core implementation (v0.21.2+) | |
* | |
* Key findings from real transaction analysis: | |
* 1. Peg-out transactions: Fee based only on vsize (MWEB weight doesn't add fee) | |
* 2. Peg-in transactions: Fee = (vsize * regular_rate) + (mweb_weight * mweb_rate) | |
* 3. Pure MWEB transactions: Fee = mweb_weight * mweb_rate only | |
* 4. MWEB fee rate is typically 100 satoshis per weight unit | |
*/ |
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 express from 'express'; | |
import * as argon2 from 'argon2'; | |
import { | |
sendNotificationToUsers, | |
sendNotificationToOldUsers, | |
sendNotificationToEmptyUsers, | |
sendNotificationToUsersTest, | |
} from '../utils/notifications'; | |
interface ISendNotificationRequest { |
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 |
NewerOlder