litecoin difficulty schedule

_ Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top up vote 4 down vote favorite 1 How can I know difficulty value and reward for Litecoin network ?I'm looking for website such as /q/bcperblock /q/getdifficulty to get difficulty and reward for Litecoin network (instead of Bitcoin network) I'm looking for a way to get difficulty and reward using an API that can be queried every 15 minutes to make my own mining profit calculator.Current difficulty is around 100 and current reward is 25 LTC.litecoin alternatives difficulty mining-reward up vote 3 down vote The latest version of Abe supports getdifficulty, so you could run it yourself or convince the explorer administrator to upgrade.But this will be the difficulty as of the last solved block.I would expect "litecoind getinfo" to give a more accurate number during difficulty adjustments, and this does not require Abe or a website.
As for the block reward, Abe lacks bcperblock.Perhaps the easiest route is to get the current block number (also available via getinfo) and calculate the reward., the reward starts at 50 LTC and is halved every 840,000 blocks.In Python: def reward(blocknumber): return 50.0 / (2 ** int((blocknumber + 1) / 840000)) Adding 1 to the block number gives you the next block's reward, which is what matters to miners.up vote 2 down vote Current versions of Abe support the getdifficulty API call.For instance, http://yacexplorer.tk/chain/Yacoin/q/getdifficulty returns the current Yacoin difficulty. are running outdated versions of Abe.For these older versions of Abe, difficulty at the time a block is solved is available; it should usually be close enough to the current difficulty.Here's an alternate approach I implemented to get Litecoin difficulty: get the blockchain height (/chain/name/q/getblockcount) get block info (/search?q=blocknum) get difficulty Step 2 returns HTML which you'll have to scrape.
Here's some C# I knocked together: private double GetDifficultyAbeAlt(string url_prefix, string chain_name) { WebClient wc = new WebClient(); int blockcount = Convert.ToInt32(wc.DownloadString(url_prefix + "/chain/" + chain_name + "/q/getblockcount")); string blockinfo = wc.DownloadString(url_prefix + "/search?q=" + blockcount.ToString()); double difficulty = 0; foreach (string line in blockinfo.Split(new char[] { ' ' })) if (line.Contains("Difficulty") && !line.Contains("Cumulative")) difficulty = Convert.ToDouble(line.Split(new char[] { ' ' })[1]); return difficulty; } For the block reward, this is the approach I took that should work with any version of Abe: get the blockchain height (/chain/name/q/getblockcount) get block info (/search?q=blocknum) get the value of the generation transaction; subtract from it the fees paid by the other transactions in the block As above, step 2 returns HTML which you'll have to scrape.
Here's some C# I knocked together: private decimal GetRewardAbe(string url_prefix, string chain_name) { WebClient wc = new WebClient(); int blockcount = Convert.ToInt32(wc.DownloadString(url_prefix + "/chain/" + chain_name + "/q/getblockcount")); string blockinfo = wc.DownloadString(url_prefix + "/search?q=" + blockcount.ToString()); int tx_index = 0; decimal reward = 0; foreach (string line in blockinfo.Split(new char[] { ' ' })) if (line.Contains("") && !line.Contains("")) { string[] fields = line.Split(new string[] { "", "", "" }, StringSplitOptions.RemoveEmptyEntries); if (tx_index == 0) { reward = Convert.ToDecimal(fields[3].Split(new char[] { ' ' })[1]); if (fields[3].Contains("+")) break; } else reward -= Convert.ToDecimal(fields[1]); tx_index++; } return reward * (decimal)100000000; } or blockchain.info return for Bitcoin.github bitcoin pool
up vote 1 down vote The litecoin wiki on github lists block explorer sites.ethereum stock outlookThe explorer.litecoin.net API seems to be what you are searching for, the corresponding difficulty could be retrieved by using the nethash command of the API.bitcoin qr code iphoneThe specific page you are looking for should be this URL, see my comment for further explanations.bitcoin amlup vote 1 down vote You can view Litecoin difficulty in Litecoin block explorer - blockr.io Your Answer Sign up or log in Sign up using Google Sign up using Email and Password Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service.uk bitcoin vat
Browse other questions tagged litecoin alternatives difficulty mining-reward or ask your own question.ethereum declineLitecoin Difficulty historical chart Share:         1 liner log 3 months 6 months year all time Transactions Block Size Sent from addresses Difficulty Hashrate Price in USD Price in BTC Sent in USD Avg.Transaction Fee Median Transaction Fee Block Time Market Capitalization Avg.Transaction Value Median Transaction Value nodes Tweets Active Addresses Top100ToTotal   Raw Values Contact:  | Donations: BTC 13KPgojUhg2Rx92WRJQDZR7vy2vegonHsf  | Advertising  | Privacy Policy / DisclaimerNewsLitecoin’s Difficulty Falls to 2016 Lows Litecoin’s difficulty has dropped to the 2016 lows, even as Bitcoin’s difficulty reaches new all-time highs, in the latest Litecoin difficulty update yesterday, according to data from Bitcoinwisdom.Litecoin has been struggling to gain more popularity in recent months, especially after the recent surge in the price of Ethereum.
Litecoin was once seen as ‘silver to Bitcoin’s gold’.However, the price of Litecoin has increased over the last few weeks when Ethereum has struggled, and it now stands at over $3.5 per Litecoin, according to data from Coinmarketcap.Litecoin’s hash rate dropped to 1,378 GH/s from 1,481 GH/s for a drop of 6.95%.This drop means the hash rate and difficulty reached the lowest points in 2016.Litecoin started the year with a hash rate of around 1,480 GH/s and a difficulty of 51,718.The current network difficulty is 48,114.On the mining front, there are no reliable ASICs for scrypt yet that can consistently outperform GPUs and make a profit after taking the hardware and electricity costs into consideration.Litecoin was the first major coin to shift to scrypt from SHA-256, which is a memory-intensive proof of work and therefore any ASICs will only have a limited upside compared to regular miners, since memory is more expensive than simple processing.Litecoin currently stands behind Bitcoin and Ethereum in total market capitalization.
", "