Pages:
Author

Topic: [ANN][OC] ONECOIN | NO PREMINE | FAIR LAUNCH | SHA256 TRIPLE - page 8. (Read 43999 times)

newbie
Activity: 27
Merit: 0
Hi all, i am looking at source code where is the piece for only generate pos blocks when the mempool is not empty, but i cant find it, some help will be eternally  indebted

I was looking at that too. But I think it there is no additional code (I compared to blackcoins code). I think the blackcoin PoS protocol by itself will not try to create a pos block if there is 0 reward (nSubsidy in main.cpp).

A transaction in the mempool (that is paying the fee of course) means nSubsidy is grater than 0, giving the PoS kernel something to work with and it then tries to sign a block.

So you would have to dig deeper into blackcoins PoS kernel to understand this (kernel.cpp). I did not go that far Smiley

Edit: I might be wrong, this might be older legacy from the peercoin staking implementation. Maybe look into wallet.cpp how it handles staking. The answer might be there. But comparing the code, nothing is changed considerably from blackcoin to onecoin in wallet.cpp.

You are right. It is in wallet.cpp: https://github.com/theone-and-not-only-coin/onecoin/blob/master/src/wallet.cpp#L1722

// Calculate coin age reward
    {
        uint64_t nCoinAge;
        CTxDB txdb("r");
        if (!txNew.GetCoinAge(txdb, pindexPrev, nCoinAge))
            return error("CreateCoinStake : failed to calculate coin age");

        int64_t nReward = GetProofOfStakeReward(pindexPrev, nCoinAge, nFees);
       if (nReward <= 0)
            return false;


        nCredit += nReward;
    }

If the reward is 0 the wallet will not try to stake. This part of the code is unchanged from BlackCoin.

If you plan on implementing this feature in your coin you just have to set nSubsidy for GetProofOfstakeReward to 0

Code:
// miner's coin stake reward
int64_t GetProofOfStakeReward(const CBlockIndex* pindexPrev, int64_t nCoinAge, int64_t nFees)
{
    int64_t nSubsidy = 0;

    LogPrint("creation", "GetProofOfStakeReward(): create=%s nCoinAge=%d\n", FormatMoney(nSubsidy), nCoinAge);

    return nSubsidy + nFees;
}
hero member
Activity: 1472
Merit: 505
We are cryptocurrency
Grin Grin Grin Grin

Good initiative.

I think i can push some article on this. Who can answer questions for an interview?

This is gonna be interesting  Shocked Shocked Shocked .

People you have no idea who @MINEX.IO is  Cool

Boooom!!! Now i am really sticking around here.

im interested in what minex is about - and what minex has to offer in terms of working together with devs ...

#crysx

I was actually not reffering to Minex iself but instead to what this part is releated to.

Quote
I think i can push some article on this

Minex itself is an aggrevator for blockchian projects and crypto mining. For more info visit Minex.io . Myself have a few shares in that but have not been paying much attention last few months with all that is going on.
hero member
Activity: 746
Merit: 500
Hi all, i am looking at source code where is the piece for only generate pos blocks when the mempool is not empty, but i cant find it, some help will be eternally  indebted

I was looking at that too. But I think it there is no additional code (I compared to blackcoins code). I think the blackcoin PoS protocol by itself will not try to create a pos block if there is 0 reward (nSubsidy in main.cpp).

A transaction in the mempool (that is paying the fee of course) means nSubsidy is grater than 0, giving the PoS kernel something to work with and it then tries to sign a block.

So you would have to dig deeper into blackcoins PoS kernel to understand this (kernel.cpp). I did not go that far Smiley

Edit: I might be wrong, this might be older legacy from the peercoin staking implementation. Maybe look into wallet.cpp how it handles staking. The answer might be there. But comparing the code, nothing is changed considerably from blackcoin to onecoin in wallet.cpp.
legendary
Activity: 966
Merit: 1000
Hi all, i am looking at source code where is the piece for only generate pos blocks when the mempool is not empty, but i cant find it, some help will be eternally  indebted
hero member
Activity: 746
Merit: 500
Grin Grin Grin Grin

Good initiative.

I think i can push some article on this. Who can answer questions for an interview?

This is gonna be interesting  Shocked Shocked Shocked .

People you have no idea who @MINEX.IO is  Cool

Boooom!!! Now i am really sticking around here.

im interested in what minex is about - and what minex has to offer in terms of working together with devs ...

#crysx

I am interested too Smiley

Is it this thing: http://minex.io/ ?
legendary
Activity: 2870
Merit: 1091
--- ChainWorks Industries ---
Grin Grin Grin Grin

Good initiative.

I think i can push some article on this. Who can answer questions for an interview?

This is gonna be interesting  Shocked Shocked Shocked .

People you have no idea who @MINEX.IO is  Cool

Boooom!!! Now i am really sticking around here.

im interested in what minex is about - and what minex has to offer in terms of working together with devs ...

#crysx
hero member
Activity: 1472
Merit: 505
We are cryptocurrency
Grin Grin Grin Grin

Good initiative.

I think i can push some article on this. Who can answer questions for an interview?

This is gonna be interesting  Shocked Shocked Shocked .

People you have no idea who @MINEX.IO is  Cool

Boooom!!! Now i am really sticking around here.
newbie
Activity: 27
Merit: 0
Grin Grin Grin Grin

Good initiative.

I think i can push some article on this. Who can answer questions for an interview?

I can answer the questions. PM me.

If any other user is interested in answering the questions it is also fine by me.
newbie
Activity: 32
Merit: 0
 Grin Grin Grin Grin

Good initiative.

I think i can push some article on this. Who can answer questions for an interview?
hero member
Activity: 1472
Merit: 505
We are cryptocurrency
I found the best use case for this coin! When someone says onecoin on social media i just congratulate them on a great launch and stick this thread in the comments.
hero member
Activity: 1472
Merit: 505
We are cryptocurrency
No roadmap, what's going on here?

Read the OP and things will be more clear!
sr. member
Activity: 343
Merit: 250
No roadmap, what's going on here?
hero member
Activity: 1472
Merit: 505
We are cryptocurrency
Been "solo" mining at yiimp.ccminer.org for about 8 hours, so far no dice. Anyone care to help? If KimBasinger is still lurking about, yiimp needs to be added to the pool list.

Noo way @tpruvot added OC to Yiimp. I cleary missed some pages on the thread.
 
And new ccminer as well. https://github.com/tpruvot/ccminer/releases/tag/2.0-rc2

Code:
ccMiner 2.0 RC2 changelog:
– Handle cryptonight, wildkeccak and cryptonight-lite
– Add a series of new algorithms: timetravel, bastion, hmq1725, sha256t
– Import lyra2z from djm34 work…
– Rework the common skein512 (used in most algos except skein ;)
– Upgrade whirlpool algo with alexis version (2x faster)
– Store the share diff of second nonce(s) in most algos
– Hardware monitoring thread to get more accurate power readings
– Small changes for the quiet mode & max-log-rate to reduce logs noise
– Blake2s fix, variant built with CUDA 6.5 (not usable for lbry)


Great stuff.
sr. member
Activity: 358
Merit: 250
Been "solo" mining at yiimp.ccminer.org for about 8 hours, so far no dice. Anyone care to help? If KimBasinger is still lurking about, yiimp needs to be added to the pool list.
hero member
Activity: 746
Merit: 500
Wow mining got really easy Smiley Guess everyone is chasing ETH lol Cheesy
full member
Activity: 168
Merit: 100
Bitcoin Investor
In regards to solo mining, how long does it take for the reward to show up in the wallet? 250 blocks? Or will it show up as unconfirmed or something earlier?

I've solo mined with a HD7990 for about 7 hours using sgminer-oc last night (00-07) and then on a GTX1070 with ccminer-2.0-rc2 for about 9 hours (08-17). When I got home from work (now, at around 17:00) I saw two rewards of 50 in my wallet:



If 250 blocks takes about 1250min=21h (~5 min per block of pow) it seems too early to show up now. If the timestamp is when it was found, but not yet matured/verified complelty (hence the brackets '[' ']'), it seems that sgminer-oc isn't working for solo-mining.. 7990 has more or less the same hash as 1070 in my two machines (sgminer-oc vs excavator)
you found 2 blocks with 1 gpu?

He would be using a mega computer
full member
Activity: 168
Merit: 100
Bitcoin Investor
this coin has a hilarious dev - Kim Basinger  Grin

The hottest dev on BitcoinTalk  Grin



I AGREE THAT'S FUCKING HOT !!
newbie
Activity: 27
Merit: 0
Any news Kim Basinger?

What kind of news would you expect?

Anyone else has any info regarding sgminer and solo? Should there be some special argument for solo to make it work? -I -W...?

I would not know and I don't have a amd card to try it out. Maybe ocminer can help out?

Do not sell now cheap and fast coin. It will throw still some currency exchange.
But the coin is only the beginning. I believe that the price will rise.
It has not been a proper growth.

You are right. Still very early.
member
Activity: 89
Merit: 10
https://i.imgur.com/uEnAdZu.png
You're crazy typing that @krile, but thanks for confirming  Cheesy Grin
It seems I'm in a predicament.. I get about 100OC per day if both my cards are in pool, or about 50 from one card and luck will give or take the rest.. Will go with solo on the GTX1070OC another day to see if the gods are with me or not :p
I was curious Smiley Congratulations on your two blocks btw, hope there are more coming your way Wink
Thanks.. got one last night while I was sleeping also Smiley
hero member
Activity: 746
Merit: 500
You're crazy typing that @krile, but thanks for confirming  Cheesy Grin
It seems I'm in a predicament.. I get about 100OC per day if both my cards are in pool, or about 50 from one card and luck will give or take the rest.. Will go with solo on the GTX1070OC another day to see if the gods are with me or not :p
I was curious Smiley Congratulations on your two blocks btw, hope there are more coming your way Wink
Pages:
Jump to: