Bitcoin Forum
October 01, 2023, 01:37:05 AM *
News: Latest Bitcoin Core release: 25.0 [Torrent]
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / couldn't generate 0.14.1 binaries - gitian build broken? on: May 05, 2017, 04:16:06 PM
Hi! I'm trying to use gitian to make the binaries for v0.14.1 using LXC but I'm having problems, this is what gbuild prints:

--- Building for trusty amd64 ---
Stopping target if it is up
Making a new image copy
sudo: unable to resolve host gitian
stdin: is not a tty
Starting target
Checking if target is up
sudo: unknown user: ubuntu
sudo: unable to initialize policy plugin
Preparing build environment
sudo: unknown user: ubuntu
sudo: unable to initialize policy plugin
sudo: unknown user: ubuntu
sudo: unable to initialize policy plugin
sudo: unknown user: ubuntu
sudo: unable to initialize policy plugin
Updating apt-get repository (log in var/install.log)
Installing additional packages (log in var/install.log)
Upgrading system, may take a while
Creating package manifest
stdin: is not a tty
Creating build script (var/build-script)
sudo: unknown user: ubuntu
sudo: unable to initialize policy plugin
Running build script (log in var/build.log)
Grabbing results from target
sudo: unknown user: ubuntu
sudo: unable to initialize policy plugin
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
./bin/gbuild:21:in `system!': failed to run copy-from-target  out build (RuntimeError)
from ./bin/gbuild:288:in `block (2 levels) in <main>'
from ./bin/gbuild:280:in `each'
from ./bin/gbuild:280:in `block in <main>'
from ./bin/gbuild:278:in `each'
from ./bin/gbuild:278:in `<main>'

the host is linux Mint, and the guest in the VM seems to to have internet access... what's with the "unknown user: ubuntu" error? and what about "sudo: unable to resolve host gitian"?
any help please?
I've done this a couple of years ago but I forgot about the details now

Also, I had to add the line
lxc.autodev = 0
to gitian-builder/etc/, otherwise I was getting a "failed to mount /dev/shm" error. Is that ok?

Thanks in advance!
2  Alternate cryptocurrencies / Altcoin Discussion / network split attack on POS coins! techincal discussion on: September 01, 2014, 04:08:37 PM
Hi, there!

quoting the PPC paper:

A duplicate-stake protocol is designed to defend against an attacker using a single proofof-
stake to generate a multitude of blocks as a denial-of-service attack. Each node
collects the (kernel, timestamp) pair of all coinstake transactions it has seen. If a received
block contains a duplicate pair as another previously received block, we ignore such
duplicate-stake block until a successor block is received as an orphan block.

So, if I find a stake kernel that meets the difficulty, I could use it to generate 2 different blocks with it (by including different tx), send one to half of the nodes, the other one to the other half, and split the network?
generalizing, I could generate N blocks, send each node a different block simultaneously, and partition the network in many many pieces, only with a single POS minting?
"until a successor is received"... but it could be some time... this is specially bad for POW/POS hybrids that already have a relatively low POW hashrate...

Please confirm and expand on consecuences, or explain where am I wrong.

3  Alternate cryptocurrencies / Altcoin Discussion / [RIC] Riecoin status update! on: April 04, 2014, 04:31:19 AM
Hi! I have a new status update for Riecoin:

I've been very busy with my (other) job, but that will change next week. Also, I met many cool people that are insterested in the project, more news soon.

- RiecoinFoundation is officially open and has a very cool website

And we have 2 new exchanges accepting Riecoin:

- efforts for stratum optimized miner are still on their way, also for a xpt/stratum proxy that would allow xpt miners in RIC stratum servers
- difficulty is still close to it, but not breaking world records just yet.... we need just a little push...

Thanks and best regards to all!
4  Alternate cryptocurrencies / Altcoin Discussion / [RIC] Riecoin status update 2014/03/27 on: March 28, 2014, 04:07:44 AM
This week, time flyed by. But it's Thursday again (at least in some time zone it still should be) and we have some news for Riecoin:

- Our website was updated a couple of times
- A Mac OSX xpt miner was released
- Riecoin Foundation is growing. Site will be up soon.
- Difficulty peaked at 1712. Remember that 1857 is required in order to break the world record. As it was mentioned on the ANN thread, there are reasons to believe that Riecoin's network computing power is enough to easily break the record, but the limits imposed in order to make RIC practical as a currency as well are holding us back. This however doesn't make Riecoin less useful: we have created a repository of more than 27000 prime sextuples.
- Stratum pools are still low on hashrate (or "scanrate" as I like to put it) because the most optimized miners use the XPT protocol. Ypool works fine but it's not the only pool: upcpu has already found many blocks.

My current priorities:
- Optimized miners for stratum protocol - work still in progress
- XPT / Stratum proxy in order to use xpt miners with stratum pools - work still in progress
- then comes the updated "Riecoin Core" 0.9.0

New ideas to explore:
- Chebyshev's bias: is it large enough to use it for miner optimization? at first sight, it doesn't look that way, but it's effect may be amplified by the fact that we use prime 6tuples, not just primes... needs more research. Optimized miners use a hardcoded value for the remainder (or "offset") of their primorial, but is it the best value?
- If we'll be hardforking to include constant difficulty adjustments, maybe we could use the opportunity to include searching for 7 or 8tuples along with 6 tuples.

Best regards to all!
5  Alternate cryptocurrencies / Altcoin Discussion / [RIC] Riecoin status update 2014/03/20 on: March 20, 2014, 09:54:50 PM
Hi riecoiners!

Update for last week:

So we are heading towards a more decentralized and healthy network, and closer to the prime 6tuple world record! Riecoin should take off soon.

My current priorities:

  • Bitcoin core 0.9.0 is out and now I have a lot of new features to add to RIC. Expect new "Riecoin Core" versions. Looks like we'll have a 64bit version for windows: this will make PoW verification much faster
  • I'm working on an optimized open source version of the miners. Stratum first, then xpt.
  • After latest difficulty swings, I'm considering switching to a constant difficulty adjusment instead of every 288 blocks.

Thanks and regards,
6  Alternate cryptocurrencies / Altcoin Discussion / [RIC] Riecoin status update 2014/03/13 on: March 14, 2014, 03:19:18 AM

News from past week:
- added RIC trading
- there is a nice block crawler that shows the prime 6-tuples of each block and offers links to verify their primality!

News for today:
- open source stratum-mining available here:
I couldn't get a pool online yet for other reasons, but mpos is showing valid shares accepted. The miner that supports solo mining and stratum mining is here:
You'll also need an updated client in order to operate a pool, compile from here:
The updated client is only because the "bits" field was missing from the "getblocktemplate" response.
I still have to make an official release with binaries for the miner and the daemon/client.
You'll also need a pool front-end, like mpos.
Once people start testing this, I guess we'll be able to announce that we are the first coin with scientific proof of work that has open source pool software!

Thank you all!
7  Alternate cryptocurrencies / Altcoin Discussion / [ANN][RIC] Riecoin new client version 0.8.7 - security update! on: February 21, 2014, 08:21:12 PM
Hi people!

This is to announce a new version of the client. This is not a hard fork, but it should be considered a mandatory update because it addresses security issues.

Downloads link:
And of course sources at

List of changes:
  • fixed logo and icons for Windows binaries
  • added option -spendzeroconfchange to workaround tx malleability problem as in
  • added seed nodes
  • added checkpoints
  • Chinese translations fixed
  • difficulty field in getinfo, getmininginfo, getdifficulty now return the same as getwork: the size of the primes measured in bits. Note that this is not linear: 1500 is not 3x harder than 1000. It's like 700 times harder
  • fixed DoS (crash) vulnerability in PoW calculation

Are we the first *coin with an official release addressing the transaction malleability problem? of course I "stole" it from Bitcoin, but still...

Since this is a security update, plase make it sticky for some hours. Is there a place to request that?
8  Alternate cryptocurrencies / Altcoin Discussion / [RIC] Riecoin launched - Thank you! status, lessons learned and what's next on: February 12, 2014, 03:36:05 PM

I'd like to thank all the people how participated on the launch yesterday. There were some problems, but overall I think it was an acceptable launch.

Some lessons I learned on my first cryptocoin lunch:

- The first blocks without reward seemed silly (who would mine for nothing?) but it turned out to be a good idea. Good for testing everything is working.
- Binaries must be ready from the start, or rogue wallets with virus might spread. I'll forget about this thing that the coinbase should have some recent news, the best is to have everything ready at the time of announcing the launch. To avoid premine, let everyone with blocks with 0 reward be the witnesses that the chain wasn't started before.
- Hard starting difficulty is good. It's fair. But.... (see next point)
- ...pools really are really important! I thought that pools where bad, agents of centralization, and that distribution "on the long run" would be the same if pools didn't exist, but now I understand that they are needed for good distribution of the coins, because "on the long run" difficulty changes and smaller miners cannot compete.
-Always keep people informed of what's going on!
- Be wary of giving estimates! As a developer I used to be good at estimating effort. The thing is that even if effort estimates are correct, I cannot estimate when will I be able to put that effort in practice. I have a job and 2 kids IRL, I love them and they take a lot of my time... (and I'd like to thank my wife for her help while I'm working on this) the point is my failure was at predicting how many hours I can put on this.
- I can't do this alone. I need a team.
- I won't make money with this. Need to think more carefully about monetizing.
- What else? please comment

Things to fix in the next release:

- On the rush to launch, windows wallet came out with bitcoin logos
- On getinfo and getmininginfo, the difficulty is rounded to the integer. The difficulty in getwork (field diff) is the size of the primes, and it works ok. But the difficulty in the getmininginfo and getinfo commands should be the ona on getwork divided by 304 which is the minimum difficulty. So it started at 1, but the thing is that it's an integer division so it's not much useful.
- Add checkpoints and seed nodes
- What else? please comment

Where to go now?

- We need a pool urgently. I'm working on a p2pool and will give support to those how want to implement pooled mining.
- Please promote! we need services, exchanges, everything. Go to your altcoin payment service provider and ask for riecoin. Go to your exchange and ask for riecoin. Go to your mathematician and ask him to take a look at it, etc
- should we go like "so numbers", "such prime", "much sextuplets", "the Chinese are in", "to da moon!"... does that work?
- Please contribute: we need a block explorer

Please help me make this work!

Thank you!

9  Local / Altcoins (criptomonedas alternativas) / [ANN][RIC] Riecoin, nueva moneda basada en números primos, lanza el 11 de Feb on: February 03, 2014, 03:36:29 PM

Lanza el martes 11 de Feb de 2014 a las 20:00 UTC

Parámetros generales:

  • PoW: nueva idea, números primos, no cadenas de Cunningham
  • Bloques cada 2.5 minutos
  • 50 RICs por bloque, se reduce a la mitad cada 4 años
  • Cap: 84 millones de RIC
  • RPC port 28332, o 38332 para testnet
  • P2P port 28333, o 38333 para testnet


La página aún se encuentra únicamente en inglés, pero el cliente podrá configurarse en castellano.

Les dejo el link al anuncio en inglés con más información:
Cuando disponga de más tiempo traduciré más. Gracias!

follow us on twitter: @riecoin
10  Alternate cryptocurrencies / Announcements (Altcoins) / [ANN][RIC] Riecoin: constellations POW *CPU* HARD FORK successful, world record on: February 03, 2014, 03:00:40 PM

Launched between 20:00 and 23:59 UTC on Tuesday, Feb 11th, 2014

Want something added to request it here:

New client v0.10.2 Mandatory update: hard-forked at block 160704
Hard fork was successful! It allowed us to break the world record for the largest prime sextuplet with 654 digits
Sources are in github ( and binaries in sourceforge (
More details here:

Download optimized solo cpu miner v3.1.1:

General parameters:

  • PoW: new idea, prime numbers, not Cunningham chains
  • Blocks every 2.5 minutes
  • Block reward of 50RIC, halving every 840000 (about 4 years)
  • Cap: about 84 million RIC
  • Difficulty adjustments every 576 blocks (24hs) 288 blocks (12hs)
  • RPC port 28332, or 38332 for testnet
  • P2P port 28333, or 38333 for testnet

Website: (currently down beacuse of DDos)

The process of money creation in Bitcoin - referred to as mining - involves executing software that utilizes your hardware running sha256 hashes until a certain criterion is met. This part of the mining process is called generating a "Proof of work". The whole mining process also has a critical role in processing transactions and providing security to the network. It is estimated that all the processing power devoted to Bitcoin mining represents more computing power than several of the largest supercomputers in the world combined. Wouldn't it be great to be able to use all that massive power for something else?

Even special purpose hardware was designed for Bitcoin mining. Some consider this a waste of resources, while others argue that supporting a decentralized currency is hardly a waste. We believe that the mining process required for currency to work does not need to include hashing functions as a Proof of Work, and that a "more useful" calculation can be done instead.

That's the point of Riecoin: the mining process, besides fulfilling its function to the operation of the network, generates series of prime numbers as a by-product. This prime numbers are of interest to mathematicians and the scientific community. Riecoin is proof that it is possible to effectively harness all that massive computing power to something useful other than hashing functions.

Fair launch:

Since this is a new PoW, it is very hard to define a starting difficulty that avoids instamining. To overcome this and contribute to a fair launch, the first 576 blocks will have no reward and the next 576 will linearly increase and reach the full reward at block 1152, after 4 difficulty adjustments were performed. Besides avoiding instamining, this should allow time for those who want to compile their own clients.
Expect the starting difficulty to be hard.
Source code will be provided a few days before launch, but the PoW functions will be replaced by stubs. The idea is that everyone would be able to examine the code and confirm that there's nothing strange and it is indeed pretty similar to bitcoin's. Everyone would be able to compile it, see if they have the correct dependencies, etc, but it won't run. At launch time, when the final code is released, everyone could easily check that the only thing that changed is the PoW code, so you'd only have to check the diff of a few lines of code and recompile.


A basic miner is embedded in the client (use "setgenerate true"), but a fork of cpu-miner that is much more optimized will be released too. Optimized mining requires a sieve, which in general create a RAM access bottleneck, so it's hard to predict how much improvement would you get by using the GPU. I'd bet someone will find a way to implement an efficient GPU miner. Same thing with ASICs. But if they make an ASIC for this, they would be making an ASIC that could be used to find interesting prime number structures.


Cool intro video:



Twitter: @riecoin

Android apps/widgets: new!
- Paper wallet (in Play store)
- Riecoin widget (in Play store)
- Riecoin shooter (in Play store)


There was an article on NewScientist!
And slashdot:

Listed at:

- CryptoDAO:

- new!
- (stratum)
- RiePool (stratum)
- xpoolx (stratum)
- (xpt) they also have an online wallet and a faucet
- (xpt)
- gpupool (not technically pooled mining, research before using)

Stratum miner:

Stratum pool server backend:

Block crawlers/explorers:
- seems offline

- Paper wallets
  - accepts Riecoin!
There's a wiki here:

Faucet and other services by New!
- Faucet
- copay for RIC
- Online wallet
- Dice game

And there's a miner for the parallela board!

More links and info at
11  Alternate cryptocurrencies / Altcoin Discussion / alt coin forums list on: January 03, 2014, 10:10:02 PM
what are the other general alt coin forums out there?

I know of these:   (has an alt section)

any others?
12  Alternate cryptocurrencies / Marketplace (Altcoins) / [ANN][RFC][RIC] Logo contest! Riecoin, new prime numbers POW coin -CONTEST ENDED on: September 05, 2013, 02:58:30 AM
Hi! I'm introducing Riecoin.

This is a new coin with proof of work based on prime numbers. Riecoin is forked directly from Bitcoin 0.8.4 EDIT: I'll be including changes from 0.8.5 and is not related to primecoin. I've been working for some time now on a prime number proof-of-work coin. While I knew that the user primecoin was taken on github, its launch took me as a surprise while my work was still not finished. Luckily primecoin's approach is different to riecoin's (I don't use Cunningham chains), and I think riecoin has some good advantages so I kept going with the experiment.
It will have some ltc-like parameters: 2.5mins per block starting with 50 coins per block.

I'm a software developer but not a designer, so I'm starting a logo contest. The coin is named after Bernhard Riemann, whose work on prime numbers was revolutionary. I'll do a fair launch without premine or instamine, so I cannot set a big bounty for this contest, all I can promise is your name and contact info of your desire in the about dialog and/or the splash screen of the QT wallet (I'll choose the winner), and the first block I mine (that's 50 RIC).

Since Riemann is already on the coin's name, I don't feel it's necessary to have his face on the logo. I thought it could contain a lower-case Greek letter zeta with 1 or 2 bars (like $ is an S with a bar) as an homage to the Riemann zeta function, but I'm open to whatever looks good. EDIT: since zetacoin already uses the zeta letter, If you decide to use it I suggest you do it in a subtle way, ie don't make it the main feature of the logo.
Another cool drawing that could be used for inspiration can be found here: you can see it in a more gentle color on the cover of this book:
I like minimalistic designs, but do whatever you like, I'm open to any suggestion.

I need the logo, a .png file for the splash screen (480x320), and the icons in different sizes/resolutions as in bitcoin. If you could provide icons in both .ico and Mac's .icns format it would be awesome. Don't worry if you can't, I can convert the files.
It would be nice to have a different set of images and icons with different colors or something for testnet.
I hope you like the concept, let the contest begin! I'll give it one week, starting now.


EDIT: "Official" twitter: @riecoin
13  Other / Beginners & Help / [ARG] "random" reward on: June 12, 2013, 03:50:10 PM
So... this new altcoin ARG has pseudo-random block rewards supposedly to avoid difficulty hopping. But... since the reward (the seed for randomness) depends on the last block, it would allow "reward-hopping"! meaning you only mine if the next block will have the highest reward... so it doesn't make much sense to me. And you cannot make it random because you need the network to agree on the block reward.

my 2 cents
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!