Bitcoin Forum
May 23, 2024, 03:39:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 »
441  Economy / Games and rounds / Re: ★2x a DAY NOW ★ DUST LOTTERY★Daily Free Bets Giveaway★Dust to BTC★ on: November 15, 2016, 06:36:34 PM
L8nit3 back for another Smiley
442  Economy / Games and rounds / Re: ★2x a DAY NOW ★ DUST LOTTERY★Daily Free Bets Giveaway★Dust to BTC★ on: November 08, 2016, 06:11:52 PM
L8Nit3 in for another daily Smiley
443  Economy / Games and rounds / Re: ★2x a DAY NOW ★ DUST LOTTERY★Daily Free Bets Giveaway★Dust to BTC★ on: November 03, 2016, 02:22:14 PM
L8Nit3 in for another daily Smiley
444  Economy / Gambling / Re: ★JackpotRacer Casino★ House of Games ★WHALE DICE★DUST LOTTERY★ROULETTE★SIC BO★ on: October 31, 2016, 03:00:23 AM
going for a 10k roll run at 300 satoshi for a 24 BTC win... if it hits I will be leaving a 4 BTC rain, SO GET OVER TO JACKPOT RACER TO BE A PART OF IT!
445  Economy / Gambling / Re: ★JackpotRacer Casino★ House of Games ★WHALE DICE★DUST LOTTERY★ROULETTE★SIC BO★ on: October 31, 2016, 02:43:21 AM
claim rain for l8nit3
446  Economy / Gambling / Re: ★JackpotRacer Casino★ House of Games ★WHALE DICE★DUST LOTTERY★ROULETTE★SIC BO★ on: October 27, 2016, 03:30:53 PM
L8nit3 claiming rain again! love this site!
447  Alternate cryptocurrencies / Altcoin Discussion / Re: New alt - nSubsidy issue - FIXED on: October 21, 2016, 01:04:13 AM
Thank you for taking the time out to give advice on this issue Smiley
Strangely, adding the else statements allowed it to finally work for me, however as its simply testing I will 100% give your advice a try Smiley

I am currently looking at some other coin sources to see more elegant ways of applying the halving schedule. However to fully 'clean' the code the way I want to its going to take me quite awhile, I have very little experience in c++, but am learning along the way and will be taking pointers from the source of some coins I really like on how things SHOULD be applied.

Is this closer to what you mean?

  if(nHeight > 1440)
    {
        nSubsidy = 230 * COIN;
     }


*EDIT*
Thank you again for your advice Smiley I have trimmed down the code removing all of my && statements and the else's as per your suggestion. You were absolutely right that I had simply bloated the code with extras that didnt need to be there. Basically, in trying to 'cover all angles' I ended up overthinking and overcoding.

I still plan on tidying the code up even more and hopefully manage to work it into 1 or 2 if statements (one for the first 1440, and one for the rest), aswell as many other things I'd love to learn to implement from other coins. Just basic features for now (irc, BE in-wallet, cpu miner in-wallet, and eventually an algo change) but all leading up to hopefully bigger better things Smiley

STILL NO RELEASE PLANS - Learning for future projects
448  Alternate cryptocurrencies / Altcoin Discussion / New alt - nSubsidy issue - FIXED on: October 20, 2016, 07:37:02 PM
Hello Smiley
I am currently in the process of building my own coin. I have been following multiple guides (some for the code modding, some for windows compiling, etc) and have gotten to a point where my code builds properly for both windows (mxe or mingw) and linux ,what a job that was! My original goal was to complete start to finish without asking for forum help... but im stumped.

My Issue:
I have my code set for a block halving every 1mil blocks, with 1440 (one day) blocks at 1 coin for a fair distribution start. Yet no matter what I do to the code, my blocks do not change reward with the coded schedule, similar to the 42coin issue where it never stopped lol

int64_t GetProofOfWorkReward(int64_t nFees)
{

    int64_t nSubsidy;

    if (pindexBest->nHeight+1 >= 0 && pindexBest->nHeight+1 <= 1440)
    {
     nSubsidy = 1 * COIN;
    }

    if (pindexBest->nHeight+1 >= 1440 && pindexBest->nHeight+1 <= 1001440)
    {
     nSubsidy = 230 * COIN;
    }

    if (pindexBest->nHeight+1 >= 1001441 && pindexBest->nHeight+1 <= 2001440)
    {
     nSubsidy = 115 * COIN;
    }

    if (pindexBest->nHeight+1 >= 2001441 && pindexBest->nHeight+1 <= 3001440)
    {
     nSubsidy = 57.5 * COIN;
    }

    if (pindexBest->nHeight+1 >= 3001441 && pindexBest->nHeight+1 <= 4001440)
    {
     nSubsidy = 28.75 * COIN;
    }

    else
    {
     nSubsidy = 0 * COIN;
    }


FIXED
needed to add 'else' before each if.. stupid mistake but good to know Smiley I will continue updating with any common errors and fixes I encounter for future coin-builders Smiley
449  Economy / Games and rounds / Re: ★2x a DAY NOW ★ DUST LOTTERY★Daily Free Bets Giveaway★Dust to BTC★ on: October 18, 2016, 02:26:11 PM
L8nit3 in for another daily:)
450  Economy / Games and rounds / Re: 4 BTC★ FREE★ JackpoRacer ★ DUST LOTTERY ★ Madness Event for 7 Days ★ Not to Miss on: October 18, 2016, 12:51:45 PM
L8nit3 in for day 3
451  Economy / Games and rounds / Re: 4 BTC★ FREE★ JackpoRacer ★ DUST LOTTERY ★ Madness Event for 7 Days ★ Not to Miss on: October 15, 2016, 07:51:04 PM
Another awesome promo by JPR! count me in "L8nit3"
452  Economy / Games and rounds / Re: ★2x a DAY NOW ★ DUST LOTTERY★Daily Free Bets Giveaway★Dust to BTC★ on: October 15, 2016, 07:46:30 PM
L8nit3 in for another
453  Economy / Games and rounds / Re: ★2x a DAY NOW ★ DUST LOTTERY★Daily Free Bets Giveaway★Dust to BTC★ on: October 11, 2016, 03:49:05 PM
L8nit3 in for another Smiley and just claimed my 'rain' aswell
454  Bitcoin / Bitcoin Discussion / Re: Will Bitcoin survive if quantum computing is introduced on: September 29, 2016, 06:34:20 PM
Ok, so i have done a fair bit of reading on quatum computing (although I will not profess to understand most of it lol) and from what I understand, a 'binary' based computer only has the ability to try 1 or 0 (yes or no) at a time, hence the huge amount of time to try a wordlist one word at a time.
Whereas, quantum computing uses 'qubits' and each seperate qubit is able to see 1 and 0 at the same time (therefore trying two words in your list in parallel). In theory, with a large/unlimited number of qubits, a person could try every possible answer in parallel and receive the correct answer in seconds or less.
Now all of the current encryption algo's that I know of are built to defend against a binary computer...

So IMHO quantum computing could be a very big issue for all encryption, not only bitcoin and crypto algo's... however with the cost of quantum computing and the rediculous number of qubits required, I dont think it'll be an issue in our lifetime simply due to cost restraints.
455  Economy / Games and rounds / Re: ★2x a DAY NOW ★ DUST LOTTERY★Daily Free Bets Giveaway★Dust to BTC★ on: September 29, 2016, 05:40:08 PM
l8nit3 in for another
456  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [PRE-ANN] OPAIR | Decentralized Debit Cards | OCaml | New Blockchain Platform on: September 29, 2016, 04:58:35 PM
I recieved a PM from him directly yesterday about my staking issue. Granted, there has been some strange happenings, however taking the time to personally help me with my issue (although still no stake) is a good sign in my book.
Im am still holding out hope, and will continue to hold my ~11k XPO for awhile even after an exchange is available.

*Disclaimer, I have been burned many times for my optimism, XPY, SCRYPT.CC, etc... DO NOT use any of my comments as investment advice*
457  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [PRE-ANN] OPAIR | Decentralized Debit Cards | OCaml | New Blockchain Platform on: September 28, 2016, 05:22:20 PM
How I understand POS
While I will not profess to understand all the inner workings of a POS based cryptocurrency, from what I understand POS is simply an alternative to POW. The main difference (as I understand) is that instead of 'hashrate' you have 'stake weight' which derived from a combination of the # of coins you hold, and their combined 'age'. This 'stake weight' works in a very similar way to hashrate, and when you have 2x or 3x or more of the 'network hashrate' in POW you would pull a larger % of blocks then the rest of the network, whereas in POS you would 'stake' a block very quickly.

My particular case
I understand that I am not the top of the rich list, (in fact im ~#30), and that many with a larger stash of XPO would likely get their stakes first, as they would have a higher 'stake weight' making it more likely for them to 'stake' a block at the correct difficulty. (similar to solo mining maybe?)
However, with the current block total, the fact that POW has 0 reward, the fact the as soon as you 'stake' a block your 'staked' coins are then locked and unusable while waiting for the min stake age again (taking out larger players who staked immediately), and finally the fact that distribution is still being completed, IMHO I shouldve been able to pull a block within ~24 hours.

My question
Are either of these scenarios possible:
1)I have misconfigured something in my opair.conf (shouldnt really effect staking, but who knows)
2)Is the expected staking time reported by the wallet off?
3)Is there an issue in the wallet itself (not fudding, just hoping to help, and get help)
4)I have completely misunderstood POS and need a refresher (whitepaper maybe?)

My Opair wallet version: 2.2.0.0-QT-Windows
My OS: Windows 7 ultimate x64
My .conf:
addnode=45.62.226.224
addnode=64.137.167.77
addnode=64.137.167.48
rpcuser=[removed]
rpcpassword=[removed]
rpcport=22667
port=22665
server=1
listen=1
daemon=1
(I was solo mining to move the chain)

*Disclaimer: all above are simply opinions and questions, DO NOT assume any investment advice, doom/scam implications, etc*
458  Economy / Games and rounds / Re: ★2x a DAY NOW ★ DUST LOTTERY★Daily Free Bets Giveaway★Dust to BTC★ on: September 28, 2016, 03:12:39 PM
L8nit3 in for another daily, and this time Im gunna win dammit lol
459  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [PRE-ANN] OPAIR | Decentralized Debit Cards | OCaml | New Blockchain Platform on: September 28, 2016, 02:36:16 PM
Having a strange issue with staking.


It has been that way since 9am est yesterday... over 24 hours ago.... when i first started the network staking weight was only ~1400 and it said 3 second time expected.

All of this and no stake in 24 hours??? either i have HORRIBLE luck staking or something is wrong.
460  Alternate cryptocurrencies / Altcoin Discussion / Re: Monero Support on: September 25, 2016, 04:40:02 AM
Hello, I'm looking to make a coiniumserv pool for monero aswell as other coins, however the only implementation I can find of the cryptonight algorithm is in c/c++ whereas coiniumserv uses c# and the CryptSharp/HashLib libraries. I was wondering if there was any known implementation of the cryptonight algo in c# that I can add to the coiniumserv algo list, or if I wil have to find a way to port the algo over by hand (a tough job for a noob at both languages)
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!