What happened? $litecoin-cli getnewaddress is missing, Litecoin v0.17.1 how to getnewaddress?

I install bitcoind and litecoind… oh yes im on command line, setting up a node. prune the blockchain Litecoin is ready I want to generate newaddress to test and litecoin-cli does not show getnewaddress command… but generatetoaddress which documentation say its for mining…

here’s the result of litecoin-cli help :

litecoin@BittrexBot:/home/dany$ litecoin-cli help == Blockchain == getbestblockhash getblock “blockhash” ( verbosity ) getblockchaininfo getblockcount getblockhash height getblockheader “hash” ( verbose ) getblockstats hash_or_height ( stats ) getchaintips getchaintxstats ( nblocks blockhash ) getdifficulty getmempoolancestors txid (verbose) getmempooldescendants txid (verbose) getmempoolentry txid getmempoolinfo getrawmempool ( verbose ) gettxout “txid” n ( include_mempool ) gettxoutproof [“txid”,…] ( blockhash ) gettxoutsetinfo preciousblock “blockhash” pruneblockchain savemempool scantxoutset ( ) verifychain ( checklevel nblocks ) verifytxoutproof “proof”

== Control == getmemoryinfo (“mode”) help ( “command” ) logging ( ) stop uptime

== Generating == generatetoaddress nblocks address (maxtries)

== Mining == getblocktemplate ( TemplateRequest ) getmininginfo getnetworkhashps ( nblocks height ) prioritisetransaction submitblock “hexdata” ( “dummy” )

== Network == addnode “node” “add|remove|onetry” clearbanned disconnectnode “[address]” [nodeid] getaddednodeinfo ( “node” ) getconnectioncount getnettotals getnetworkinfo getpeerinfo listbanned ping setban “subnet” “add|remove” (bantime) (absolute) setnetworkactive true|false

== Rawtransactions == combinepsbt [“psbt”,…] combinerawtransaction [“hexstring”,…] converttopsbt “hexstring” ( permitsigdata iswitness ) createpsbt [{“txid”:”id”,”vout”:n},…] [{“address”:amount},{“data”:”hex”},…] ( locktime ) ( replaceable ) createrawtransaction [{“txid”:”id”,”vout”:n},…] [{“address”:amount},{“data”:”hex”},…] ( locktime ) ( replaceable ) decodepsbt “psbt” decoderawtransaction “hexstring” ( iswitness ) decodescript “hexstring” finalizepsbt “psbt” ( extract ) getrawtransaction “txid” ( verbose “blockhash” ) sendrawtransaction “hexstring” ( allowhighfees ) signrawtransaction “hexstring” ( [{“txid”:”id”,”vout”:n,”scriptPubKey”:”hex”,”redeemScript”:”hex”},…] [“privatekey1”,…] sighashtype ) signrawtransactionwithkey “hexstring” [“privatekey1”,…] ( [{“txid”:”id”,”vout”:n,”scriptPubKey”:”hex”,”redeemScript”:”hex”},…] sighashtype ) testmempoolaccept [“rawtxs”] ( allowhighfees )

== Util == createmultisig nrequired [“key”,…] ( “address_type” ) estimatesmartfee conf_target (“estimate_mode”) signmessagewithprivkey “privkey” “message” validateaddress “address” verifymessage “address” “signature” “message”

Combining several different computers to appear as one on Nicehash

I was wondering if there was a way to take about 10 computers, each with 1 gpu and somehow combine them to appear as 1 “rig” on Nicehash. Doing them all separately has such a low hashrate, that it always appears as 0.00, same with profit/day showing as 0.00 (doesn’t matter which coin you use). I was wondering if there was a way to tie all those together to appear as the same machine (and work together) so that you could see a decent (or any) hashrate. Thanks 🙂

Bitcoin Blocks Date not coherent?

I was taking data from the BTC Blockchain with a custom script. I found something really weird.

Block nr. 24668 was created at 2009-10-09 23:02:57

Block nr. 24669 was created at 2009-10-10 00:15:48

Block nr. 24670 was created at 2009-10-09 23:15:43

Now tell me, how it’s possible that block 24670 is ‘younger’ than the 24669? I already checked and all the blockchain explorer websites show exactly this data.

Thank you for your attention,

Mattia

Understanding default bitcoin wallet in bitcoind

I am new to block-chain, so please bear with my questions. I need to understand the basics of a bitcoin-wallet. So I have setup a bitcoin full node using bitcoind in running in testnet mode. As I understand that by default a wallet is created. Now when I am trying to get the address of the wallet by this command bitcoin-cli -testnet getaccount "", I am geeting an empty list. So is there no default wallet as such, also how do I create a new wallet? As I understand that a bitcoin wallet is basically a pot which holds several child addresses?

lnd SendPayment “unable to find a path to destination”

I got an error “unable to find a path to destination” when I call SendPayment to an invoice, created at starblocks.acinq.co, from my local private LND node.

It seems getinfo and getnetworkinfo are no problem. Am I missing something? (e.g. open port or connect channel) How can I debug it?

  • my local private LND node
# lncli --macaroonpath=/home/bitcoin/.lnd_1/chain/bitcoin/testnet/admin.macaroon --rpcserver=localhost:10010 --lnddir=/home/bitcoin/.lnd_1 getinfo {     "version": "0.6.1-beta commit=v0.6.1-beta-21-g863bf2f91b245afd58c8edc078a171a55e48f931",     "identity_pubkey": "02a5d8c2fa771570cefd4ab00be298daffca4d64c77cfc8a0d411a6c1b638cc092",     "alias": "02a5d8c2fa771570cefd",     "num_pending_channels": 0,     "num_active_channels": 0,     "num_inactive_channels": 0,     "num_peers": 3,     "block_height": 1517489,     "block_hash": "00000000000000723b9b81a3d7433385eec9e03fe1ecff2a3ea850171f70f639",     "best_header_timestamp": 1558348537,     "synced_to_chain": true,     "testnet": true,     "chains": [         {             "chain": "bitcoin",             "network": "testnet"         }     ],     "uris": null }  # lncli --macaroonpath=/home/bitcoin/.lnd_1/chain/bitcoin/testnet/admin.macaroon --rpcserver=localhost:10010 --lnddir=/home/bitcoin/.lnd_1 getnetworkinfo {     "graph_diameter": 0,     "avg_out_degree": 6.239715591670899,     "max_out_degree": 775,     "num_nodes": 1969,     "num_channels": 6143,     "total_network_capacity": "48768373513",     "avg_channel_size": 7938852.924141299,     "min_channel_size": "4000",     "max_channel_size": "16777216",     "median_channel_size_sat": "5000000" } 
  • invoice created at starblocks.acinq.co

https://starblocks.acinq.co/order/75c4e1cceefa2b59c49890f1e5466680

Calculating the HD Wallet Balance

While the notion of a balance is not strictly correct in the context of a wallet, it is something that has presented some confusion for me in the context of an HD wallet, especially when importing a seed into a new wallet.

It is to my understanding that with an HD wallet you can generate a tree structure of infinite depth, but with such a structure, how would a wallet feasibly verify the unspent transaction outputs (UTXOs) if it would have to check the entire blockchain for the addresses that the wallet can generate?

Based on the coinmarket cap api, how do they calculate the bitcoin percent change

I am trying to figure out how coinmarketcap calculates the bitcoin percent change for other coins. For example on ethereum:

enter image description here

I’m trying to figure out how they calculate that bottom BTC percent change 3.85%.

Their api (https://api.coinmarketcap.com/v1/ticker/?limit=100) spits out this data:

{     "id": "bitcoin",      "name": "Bitcoin",      "symbol": "BTC",      "rank": "1",      "price_usd": "8397.08",      "price_btc": "1.0",      "24h_volume_usd": "8190950000.0",      "market_cap_usd": "141531834530",      "available_supply": "16854887.0",      "total_supply": "16854887.0",      "max_supply": "21000000.0",      "percent_change_1h": "-0.51",      "percent_change_24h": "1.0",      "percent_change_7d": "-1.88",      "last_updated": "1518191066" },  {     "id": "ethereum",      "name": "Ethereum",      "symbol": "ETH",      "rank": "2",      "price_usd": "846.675",      "price_btc": "0.101377",      "24h_volume_usd": "3096660000.0",      "market_cap_usd": "82559453770.0",      "available_supply": "97510206.0",      "total_supply": "97510206.0",      "max_supply": null,      "percent_change_1h": "-0.2",      "percent_change_24h": "4.14",      "percent_change_7d": "-5.14",      "last_updated": "1518191052" } 

The first number is stated in this "percent_change_24h": "4.14" but they dont show how they came up with that second number ( 3.85% ).

Is there some formula I can create with the data they provide?

Thanks

No transactions are showing on my Blockchain page

I’m new to this but I know how to use the request button on BlockChain to receive money? The Bitcoin was sent to the address I provided and I didn’t get it. I’ve received money before and sent money and none of this is showing. Transactions aren’t even showing on my blockchain home page. I’ve always used the same email address. There is always change in my Blockchain account and that not there is either. I done this over may 7times probably and never had an issue. Was I hacked? The day I requested the money I thought it was odd that no change was in there because there is always 95 cent to 50 cents in the blockchain. Because the money was sent 10 days ago. The company sent me all the information and I’ve never had any issue before with blockchain. Can somebody help? NO TRANSACTIONS are showing up in my whole time using blockchain and I find that odd.