Bitcoin Forum
May 06, 2024, 06:29:16 PM *
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 »
41  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: April 21, 2019, 11:38:44 PM
Is there a paper wallet generator?

Yes, on the website, under CLI Wallets. (Lock symbol)
42  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: April 06, 2019, 06:52:14 AM
Hi! Do you have a bootstrap for the old blocks? thanks

Yes, we do. Link: https://github.com/blur-network/blur/releases/download/v0.1.9.5/blur-blockchain-bootstrap.zip

There are also instructions here: https://github.com/blur-network/blur/releases#bootstrap
43  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: April 06, 2019, 03:57:29 AM
As far as the most recent changes go, the two patches of concern are within:
1.) Handling of additional tx public keys, and their (lack of) inclusion in a transaction.
2.) P2P protocols allowing transmission of any peer's host OS, along with other info, that collectively or separately could make memory timing attacks a lot easier.


Both of these have now been patched in v0.1.9.5. Prior to this, additional transaction keys were not always included in a transaction, in all scenarios where they should have been. Now, if they are present, and the boolean need_additional_txkeys is not evaluated as true, they are included as well.  This is a bit overly conservative, but we will shave the logic down to an XNOR-case in the next release.

The second fix seems to have been necessary due to what appears to be a leftover from Bytecoin.  However, it was commented out in XMR's original code.  That changed in XMR, 5 years ago, and the flag for ALLOW_DEBUG_COMMANDS appears to have been set by default ever since.  This is a bit of an issue, as the P2P commands involved with that flag are not secure, and give up a decent amount of information about the node's host computer

Some background on memory-timing attacks...  Worth noting that these are nearly impossible to defend against, but some things make them much easier, if they are known about the host computer.

Spectre and Meltdown were two recent vulnerabilities that made use of this.  Intel and AMD had to completely rethink their architecture design to mitigate.
Dan Bernstein's paper which proved these attacks' feasibility: https://cr.yp.to/antiforgery/cachetiming-20050414.pdf



Prior to their removal, the conditional flag, and associated P2P pubkey:


And the associated conditional (in one place, anyway)


Why this is dangerous:
That P2P_REMOTE_TRUSTED_DEBUG_PUB_KEY is the same as a known cipher text, that gets hashed by every daemon who connects and performs a handshake, prior to our latest update. Such is the case currently in XMR, and every fork of it, excluding BLUR.


Nodes on v0.1.9.5 no longer include this functionality.
The relevant function doing this can be found here: https://github.com/blur-network/blur/commit/482631942c187d47c02d3cd42651ad87801ccebe#diff-c02157891426370c008d7076b723128cL1416 and is called proof_of_trust
44  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: April 06, 2019, 03:50:52 AM
Posting here since I forgot to do so when it was initially released:

A new release for Blur v0.1.9.5 'Radiant Flux Primed' has been uploaded to github. This update is STRONGLY recommended for all nodes, as it includes privacy updates (to protect from timing attacks allowed in XMR's code, by default), as well as patching the the most recent vulnerabilities found in XMR.

The v0.1.9.5 release is backwards-compatible with nodes running v0.1.9.1.  However, nodes running v0.1.9.1 will drop connections to v0.1.9.5, if the daemon from v0.1.9.1 is the one who initiates the connection.  Otherwise, the connection is allowed if v0.1.9.5 initiates the connection.  However, an update is recommended due to old daemons not being protected against the cache-timing vector, and a couple other bugs.   Please update as soon as possible. 

You can find the changelog for the new release on the CLI tools release page.  Updated GUI's are also available here.

Note:  There is known bug in the GUI that requires starting the daemon (blurd in Mac/Linux, blurd.exe on Windows) externally for syncing.   Launching from the "Start Daemon" link in the GUI will not work.
45  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: April 06, 2019, 03:42:05 AM
BLUR has been listed on Altilly with BTC & XQR Pairs!


BTC, XQR Pairs

Trading can begin immediately.  Deposits, withdrawals, and order creation are all confirmed working.
46  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: April 04, 2019, 08:33:41 PM
BLUR is now listed on txbit.io with BTC, ETH, and XLR Pairs!


BTC, ETH, XLR Pairs

Also, please make sure you are running the latest v0.1.9.5 release, as it includes updates that are necessary to maintain your privacy.
47  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: March 01, 2019, 05:12:56 PM
A new release for Blur v0.1.9.1 'Radiant Flux' has been uploaded to github. This update is MANDATORY for all nodes, as it revises the algorithm for CryptoNight Dynamic v2.  The code from v0.1.9 is not compatible with the new v0.1.9.1 network... so an update is required.  Please update as soon as possible.  I will be posting a summary of the algorithm changes here in a moment. CLI Wallet || GUI Wallet
48  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: February 22, 2019, 06:33:11 AM
Website will be down for 2 hours while we update/improve some things.
49  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: February 22, 2019, 06:29:48 AM
Repost from Discord:

ANNOUNCEMENT (20 Feb. 2019): GUI for v0.1.9 has been released for Windows, as well as a set of Linux Binaries for the GUI, for purposes of remaining somewhat distribution-agnostic.  Additionally, the snap package on the Ubuntu software store has been upgraded to the latest v0.1.9 for the CLI tools.

Updates are now released for every platform that we officially support, and for every UI and/or package type we offer. The network will fork in roughly 4 days, so be sure to update your nodes prior to block 342,000! This is the last time I’ll announce this here, so I can quit blowing up your notifications :wink:

Should you wish to help us benchmark the new v10 algorithm changes, you can do so by starting the wallet with the --testnet flag to generate a testnet address (these begin with the prefix b8...).  Then, once you have a testnet wallet address, launch the daemon with the startup flags --testnet --offline.  Your daemon will not sync to the testnet, but you may start mining immediately. At block 40, the testnet forks to v10.  After this block has been mined, any point thereafter will be a fairly reliable benchmark.  To start mining simply issue the command start_mining <testnet address> <# of threads>.  Post your results over in #benchmarks if you care to share.

Thanks for updating to support the network.  Here's to a smooth fork!
50  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: February 19, 2019, 06:36:29 PM
Blur v0.1.9 'Radiant Flux' has been released! Grab binaries for all platforms on our releases page on GitHub.

You must update by block 342,000 if you wish to remain on the main chain.  At the fork height, anyone mining on v0.1.8.x will cease to be relevant to the network.


This update brings with it the improvement and upgrade of our PoW algorithm to CryptoNight-Dynamic v2.  These changes provide for greater resistance against pools, as well as GPU.  The calculation for dynamic iterations now uses the block difficulty as an arbitrary number in the calculation.  Previously, PoW hash was only checked against the relative difficulty to ensure block hash fell within the required threshold.  The same check is still performed; however, using a different value as the block difficulty will now result in a different number of iterations, thereby breaking of consensus, if not mining at the same difficulty as the larger network.  Additionally, the window for dynamic iterations has been further increased from 4096 to 32868.
51  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: February 15, 2019, 07:05:00 AM
Update:  The changes for v10 hardfork will be done this week.  After those are pushed to GitHub, I'll be comfortable finalizing the Lightpaper and releasing that as well, as the v10 hardfork changes will then be set in stone.
52  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: February 04, 2019, 04:36:55 PM
Please update your software if you have not yet!
53  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: February 02, 2019, 07:58:56 PM
The latest release (v0.1.8.3) has been uploaded to GitHub!  You can download binaries here , as well as read the changelog, which details all changes that have occurred since the previous release. This update is mandatory for all nodes, and patches two very important vulnerabilities, as well as giving miners a hashrate boost across the board.  Please upgrade as soon as possible.
54  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: January 21, 2019, 04:38:16 PM
The knee jerk adoption of a Contributor Covenant derived COC is the most disappointing thing to have happened to this project.

Do you dislike respecting other people and their opinions? We believe that good ideas come in all shapes and sizes. Except those that marginalize without basis Smiley

We also believe you can like chocolate, strawberry, AND vanilla!
55  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀The Blur Network (BLUR) 🌀 - PoW Cryptonight-Adaptive CPU-Only on: January 09, 2019, 02:23:20 PM
oops
56  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Adaptive || Solo-Mine/CPU-Only on: January 09, 2019, 01:44:25 PM
CNAv1 is known to be vulnerable to pool-creation with some simple mods. That being the case, does Blur intend to fight against pools or to embrace them and keep the GPU resistance?


Pool resistance was not the objective with the algorithm changes... more so, a welcomed byproduct of them.  Pooled hashing is something that will become a part of the project further down the line, with a limit on poolsize based on % of net hash.  This achieves the goal of decentralization without exposing miners to the unbalanced "luck" of solving for the correct block hash ... Although, luck and randomness are *technically* more fair.

As someone who is not intimately familiar with how the cn-Adaptive algo works, would you be able to give a simplified explanation of how the algo manages to be GPU and pool resistant?

Definitely.  It's really not all that complex, to be honest. Explaining it can be, though.   NERVA's implementation currently adds a few more layers for randomness.  We'll be adding some of that on our own in the next network update which should be this week sometime.  Essentially, the algorithm runs a base number of iterations in the cryptonote algorithm... then dynamically adds an additional number of iterations (which differs each block) to that base number.  That dynamic portion is based on the previous block's height.  The way it is written, the iterations in a block cycles up and then back down to make a pattern of difficulty that looks like a sawtooth.  



if you notice hashrate gradually increasing, before dropping sharply, and then repeating the cycle... this is why.

There are two files that hold the algorithm's nuts and bolts, as they are present in BLUR's algorithm currently. These two files that we are going to look at, are located at the following locations in the source code:

Code:
blur/src/crypto/slow-hash.c
and
Code:
blur/src/cryptonote_basic/cryptonote_format_utils.cpp

The slow-hash.c file has a few pieces of information that are important and differentiate CN-Adaptive from other variants of cryptonight.  The first of which is on line 46:
Code:
#define MEMORY         (1 << 20) // 1MB scratchpad

As annotated, this parameter defines the scratchpad size for the algorithm's rounds of iterations. A 1MB scratchpad is also seen in Cryptonight-Light.  This size allows for less iterations in a round, and fits within the cache of lower end CPUs, enabling older hardware to still mine somewhat effectively.  

Now within the cryptonight algorithm, there is an added parameter in CN-Adaptive, for iterations.  This parameter defined as iters, and you can find the implementation on Line 570 of the same slow-hash.c file:

Code:
void cn_slow_hash(const void *data, size_t length, char *hash, int variant, int prehashed, size_t iters)

As well as lines 645-662:

Code:
    if(useAes)
    {
        for(i = 0; i < iters; i++)
        {
            pre_aes();
            _c = _mm_aesenc_si128(_c, _a);
            post_aes();
        }
    }
    else
    {
        for(i = 0; i < iters; i++)
        {
            pre_aes();
            aesb_single_round((uint8_t *) &_c, (uint8_t *) &_c, (uint8_t *) &_a);
            post_aes();
        }
    }

This variable "iters" calls out to a function in the second file I mentioned, to determine its value in the block being mined.   So head over to blur/src/cryptonote_basic/cryptonote_format_utils.cpp if you're following along.  

Within that file, on lines 891-901, you'll find the calculations for the number of iterations.  Before elaborating on the code, I would like to note that in its current state this code could be optimized with a GPU.  However, you  would still need a CPU present in some form, to direct the GPUs hashpower.  BLUR's goal is being too resource intensive for GPU/ASIC miners to pursue.  In its current state, and at the current value of BLUR... this has sufficed.  However, we are hardforking to a new implementation shortly, for the purpose of maintaining that as the project grows.

With that said, on lines 891-901 of cryptonote_format_utils.cpp we have:

Code:
  //---------------------------------------------------------------
  bool get_block_longhash(const block& b, crypto::hash& res, uint64_t height)
  {
    blobdata bd = get_block_hashing_blob(b);
    int cn_variant = b.major_version >= 5 ? 1 : 0;
int cn_iters = b.major_version >= 6 ? ( b.major_version >= 7 ? 0x40000 : 0x20000 ) : 0x80000;
    cn_iters += ((height + 1) % 1024);
    crypto::cn_slow_hash(bd.data(), bd.size(), res, cn_variant, cn_iters);
    return true;
  }
  //---------------------------------------------------------------

The lines here that we are primarily looking at, are the ones that declare and calculate the variable "cn_iters". Starting with the first mention (where we calculate the base number of iterations):

Code:
int cn_iters = b.major_version >= 6 ? ( b.major_version >= 7 ? 0x40000 : 0x20000 ) : 0x80000;

The code above breaks down into two parts...

Code:
 b.major_version >= 6 ? (x) : (0x80000)
and
Code:
 b.major_version >= 7 ? (0x40000) : (0x20000)

The "x" variable in the first part, is simply swapped out for the entire "second part" in the actual code.  For the purposes of explaining, its easier to break it apart this way.  The "?" symbol in C++ is what's known as a ternary operator. It essentially serves as an "if" statement directed by the ">=" operators that come before it, in this instance.

So it means to say "If the block version number (hardfork version) is greater-than-or-equal-to 6, define the iterations as the value on the left-hand side of the colon.  If it is not, define as 0x80000 or the value following the colon.  

The number 0x80000 is in hexidecimal, and translates to the human-readable number (in decimal format) 524288, for our base # of iterations.  Assuming we are above block version 5... we then move to the next conditional statement
Code:
 b.major_version >= 7 ? (0x40000) : (0x20000)
.  

We use the same logic here, to say if we are on block version 7 or higher, we use 0x40000 or 262144 for the base amount of iterations.  If we are not (i.e. less than 7 but greater than 5), we use 0x20000 or 131072 for the base number.  Now, ONTO THE DYNAMIC PART.  That's much simpler:

So far we have iterations (for current hardfork) = 262144 + (dynamic portion). The dynamic part is found on line #897, directly after the calculation for the base number:

Code:
cn_iters =+ ((height +1) % 1024)

This means to say: "Add to the base number of iterations, the calculated value for the function (current block height) Modulo (1024).  A modulo just means divide the height by 1024, and look at your remainder.  That remainder is actually then the solution to the equation.  So, (1025) % 1024 would equal 1. Just the same, (2047) % 1024 would equal 1023, because 2047 = 1024 + 1023...


57  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: January 05, 2019, 05:28:50 PM
In response to recent events and the way they were handled, Blur Network now enforces a code of Conduct, effective 01/04/2018: https://github.com/blur-network/blur/blob/master/CODE_OF_CONDUCT.md. Please read and abide by the code. It will be enforced in all project spaces.
58  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || CPU-Only on: January 03, 2019, 11:29:16 AM
Can you the Blur community stop dragging Nerva through the mud when you guys forked and can't make a reliable chain.

Thanks.

https://twitter.com/ICOcountdown/status/1080400519909142528

Responded to this on Twitter. Can you all from Nerva stop commenting on everything Blur so obsessively? Appreciate it.
59  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: December 29, 2018, 03:26:17 PM
The project on the one hand looks very attractive. On the other hand, there is very little information. I would like to know more details to assess the prospects.


What would you like to know? 

Introduction to our roots: https://whalereports.com/intro-to-blur-network/

Where we are headed: https://whalereports.com/blur-network-fractal-multichain/


Ask some questions on the AMA thread on our Subreddit!
60  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] 🌀 Blur Network (BLUR) 🌀 - PoW Cryptonight-Dynamic || Solo-Mine/CPU-Only on: December 29, 2018, 11:35:33 AM
Visit our subreddit for details on our rolling-basis weekly AMA!
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!