Jump to content
DenariusTalk

Leaderboard


Popular Content

Showing content with the highest reputation since 10/10/2017 in all areas

  1. 4 points
    I've extracted the code to verify signed messages and make a standalone library https://github.com/chelahmy/dnrverify/ My intention is to implement a signed message verification function in PHP. I've tried https://github.com/BitcoinPHP/BitcoinECDSA.php and https://github.com/scintill/php-bitcoin-signature-routines but both failed to verify Denarius signed messages. They used the technique from this link https://crypto.stackexchange.com/a/18106 which seems to be different from the one used in Denarius. I noticed modular arithmetic is applied in Denarius code. So, I just extract the signed-message verification code from Denarius and see if I can make a PHP version. Digital signature has wide applications which should be initiated by the cryptocurrency world. Every digital wallet has private keys which are ready to be used to digitally sign anything, other than just to sign spending transactions. The other side of the applications just need to verify the signed something without necessarily going through wallets.
  2. 1 point
    I'm Tim, from the New England area in the US. Just started into the mining business after a few nights of talking about various investment ideas with my dad. We each have a machine at our house and are runnning a gtx 1060 6gb. Still learning a lot every day but it's a fun project that I hope to be able pay off debt and make some extra money with when Denarius takes off through the roof in the future.
  3. 1 point
    So I decided to fork the PHP repo https://github.com/chelahmy/BitcoinECDSA.php Enjoy!!!!
  4. 1 point
    Actually Denarius only made a simple change in the original Bitcoin code by replacing const string strMessageMagic = "Bitcoin Signed Message:\n"; with const string strMessageMagic = "Denarius Signed Message:\n"; In fact, the verification process ignores address prefix. Thus, any Bitcoin or Bitcoin-based Altcoin can also use the same code to verify its signed messages by just setting the proper strMessageMagic. Anyway, I'll maintain my GitHub repo as dnrverify and keep highlighting Denarius. Another thing, both the PHP repos above can actually verify Denarius signed messages. However, they hard-coded the strMessageMagic, and just replacing it with "Denarius" simply doesn't work because of the following original Bitcoin code CDataStream ss(SER_GETHASH, 0); ss << strMessageMagic; ss << strMessage; where each time a string is appended to the ss the internal data structure keeps it as string length + string. Thus, the final data will be strMessageMagic length + strMessageMagic + strMessage length + strMessage. Both the PHP repos above implement something like the following $messageHash = hash('sha256', hash('sha256', "\x18Bitcoin Signed Message:\n" . numToVarIntString(strlen($message)).$message, true), true); The "\x18" is actually the length of "Bitcoin Signed Message:\n" which can be calculated with the following function numToVarIntString(strlen("Bitcoin Signed Message:\n")) "Denarius Signed Message:\n" is just one byte longer and can be pasted as "\x19Denarius Signed Message:\n". Hence, the technique of that link https://crypto.stackexchange.com/a/18106 is valid for Denarius and Bitcoin-based Altcoins. However, the modular arithmetic technique in Bitcoin code is more efficient. I'm going to patch one of the PHP repo.
  5. 1 point
    Here are my thoughts on these points. Whales are almost present on every coin, it matters not if the coin implements masternodes or not, the whale could in theory decide to dump their entire stash, but why would they? Partial dumping maybe, but dumping the entire stash is very unlike in my opinion. This is true of hosting regular nodes as well to some degree. Again, true for both masternodes and regular nodes. True some might be faced with this dilemma. But if there are for instance 200 nodes, chances are that not everyone will liquidate their nodes collateral at once. I have no experience in the legal part of crypto, but will say this; Chances are that even if one country decides to ban masternode tech, other countries will allow it, so it is simply a matter of moving the masternode hosting to one of those countries. Same as above. Not sure this is has to be a bad thing. Descicions regarding masternodes are like walking on a knifes edge. Too much collateral required means not much decentralization, too little collateral and masternodes will probably pop up on less than able hardware making DoS attacks easy. Also, the more DNR collateral is required to run a masternode, the less DNR is on the market meaning less selling pressure. Too high a reward and miners will complain about losing too much revenue but will incentivize masternode operators to keep running their masternode. Too small a reward and masternode operators might decide that running their node is not profitable enough, thus making them shut down their node and sell off their collateral. I have previously suggested making the collateral 2000-3000 DNR. This is just off the top of my head, but let me know what you guys thoughts are.
  6. 1 point
  7. 1 point
    It worked, finally started getting some staking returns. Moving my wallet to my dedicated mining server. Still awaiting for it to sync to network.
  8. 1 point
    Hi! Please help me with the following issue/ Denarius wallet generates an error: this had happened after power loss, I've tried to repear but it doesnt help.
  9. 1 point
    Yup everything looks good there! Your wallet is setup for staking, note the enabled: true certifies staking is enabled for your wallet, staking: false, just means it is not currently staking as your weight is also 0. You need to have coins that have matured for a minimum of 8 hours. It can take some time to find a PoS block due to PoW making generally 70% of blocks right now.
  10. 1 point
    @jtmining17 The RPC User and Password values can be set to anything. The main setting here you want is the staking=1. Everything looks fine in your conf to me, so the next thing I would check is by going to in the wallet "Help->Debug Window->Console" and then type in "getstakinginfo" please paste what is found here if your wallet is encrypted you need to ensure it is unlocked for staking via the GUI as well.
  11. 1 point
    Hey guys! Time to show off your Mining Rigs Ill go first lol: RIG SPECS: (1)CPU : Intel® Celeron® Processor G4400 (2)Motherboard : MSI Z170A GAMING PRO CARBON (3)GPU : MSI GAMING X RX 470 8GB * 7 (4)Memory : Kingston 8GB DDR4 2400 (5)SSD: 120GB (6)PSU : EVGA 1300 G2 (7)Other : USB 3.0 PCI-E Express 1x To 16x Extender Riser Card Adapter * 7 (8)System : Windows 10 N Build Cost: £1800 (made that back in 7 weeks of mining Zcash) Output: Hashing Power: 2100 Sol/s or 210 MH/s Temps: 50-60 Degrees Power Uages: Around 1100 Watts DNR Mining: Currently 36 DNR a day Power Cost: £80 per Month PICS: Building at my Bro's House: Finished building / all working. Now its perm home in my computer room mining away: I also have pics of the each stage of our build if anyone is interested. Just a lot of pics to post haha.
  12. 1 point
    My first mini rig and first pc build for gaming 3 gtx 1070 1 gtx 1060
  13. 1 point
    I'm pretty sure I got all of you beat: And no there isn't more, that's all of it.
  14. 1 point
    CPU - AMD Ryzen 7 1700X w/ liquid cooling RAM - 32 GB DDR4 3200+ GPU - 6 GTX 1080s (MSI Gaming X and EVGA FTW2) PSU - 1000w EVGA and 850w EVGA ~300MH/s mining DNR per rig, of which I currently only have 2
  15. 1 point
    JailCoin - the more jailtime you have, the more coins you get.
  16. 1 point
    Gday from Australia fellas ! Current setup Asus Z270-p Prime LGA 1151 Mb i3-7100 3.9ghz cpu 8gb RAM AMD R9 295x2 x3 water cooled will be x4 soon if i can find one im using AMD driver 16.3.2, seems to be the most stable. ebay risers Corsair HX1200i and 900w PSU's Mining frame is 25mm aluminium tube and plastic connectors from local hardware (Bunnings) the base and backing for SSD's and PSU's and MB is alucobond cladding used on commercial buildings mostly, got that from off cuts pile at a site i was working at. I am a carpenter so if anyone needs mining frames, send me a PM. happy mining !
  17. 1 point
    Well you got me beat RecoStar, thats a nice setup! Mine is: 4 x R9 380s 1300w EVGA Supernova PSU 4GB RAM 128GB SSD ASRock H81 Pro BTC LGA 1150 Motherboard FLOW MintCell Mining Rig Chasis with two neon green fans
×