Pages:
Author

Topic: [Announce] Fairbrix relaunched! (Read 19073 times)

donator
Activity: 1653
Merit: 1286
Creator of Litecoin. Cryptocurrency enthusiast.
February 12, 2013, 05:21:29 PM
As the creator of Fairbrix, I should chime in. First of all, Fairbrix is dead and I have abandoned it since launching Litecoin. Please DO NOT download any windows binaries and run them. They could actually steal real coins from your computer.

I'm going to lock this thread now.
hero member
Activity: 840
Merit: 1000
February 12, 2013, 05:08:08 PM
windows binaries

Quote from: wiggi
Posts: 9

 Roll Eyes
legendary
Activity: 2492
Merit: 1473
LEALANA Bitcoin Grim Reaper
February 12, 2013, 01:46:09 PM
Perhaps Fairbrix and BBQCoin are an omen that MicroCash will launch.

keep holding your breath lol
hero member
Activity: 617
Merit: 531
February 12, 2013, 12:38:27 PM
Perhaps Fairbrix and BBQCoin are an omen that MicroCash will launch.
legendary
Activity: 1204
Merit: 1001
RUM AND CARROTS: A PIRATE LIFE FOR ME
February 12, 2013, 12:34:19 PM
Zombie coin month huh? Back from the dead!
sr. member
Activity: 403
Merit: 251
February 12, 2013, 11:59:10 AM
A bit belated I suppose, new windows binaries, based on BeeCee1's changes.  Smiley


dl links:

Qt client: (incl. source and miner)
http://www.datafilehost.com/download-1515503d.html

blk0001.dat, blkindex.dat and addr.dat: (optional, put in data dir if you cannot connect)
http://www.datafilehost.com/download-94ff2f8b.html


Data dir on windows7 is now
Users\\AppData\Roaming\fairbrix\
(i.e. same dir as with bitcoin and litecoin, the portableapps stuff is gone)
but it's
Users\\AppData\Roaming\fairbrix\data\
for all files except the config file.

The client will automatically generate the necessary dirs and files,
but you should manually copy fbx.conf to ...\Roaming\fairbrix\


I only added up to date checkpoint lockins,
in main.cpp

        (nHeight == 114000 && hash != uint256("0xf863ed327eede0641e1be668d43144e67c52c0785524faff2dd1a21bbdeabfbe")) ||
        (nHeight == 116144 && hash != uint256("0x7d0f9db5dbb9378ddd5bdd173b3c71fef8808690adec8ecc0bbb1b3648871b76")))

etc.


For some reason it's still
in https://github.com/beecee1/Fairbrix/blob/cpumine/src/main.h

static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;

all other dust spam limiting changes are in.


X64 version of cpuminer2.2.3 included
(virus scanners don't complain about the 64bit version)
and example batch files for solo mining.


Bugs: - Qt client window doesn't like being minimized (it doesn't actually crash,
        double click on task bar or notification area symbol to "wake it up" again)
member
Activity: 115
Merit: 10
December 01, 2011, 12:26:16 AM
Yes, both fairbrix and tenebrix are susceptible to the same transaction spams. I do not plan to update fairbrix with the fixes. If anyone wants to keep fairbrix alive, feel free to take over.
I won't be taking over, but since I have been digging around the litecoin code recently I decided to see how hard it would be to port my changes to fairbrix.  If people are really still interested in fairbrix they should put together a bounty pool to pay for future updates.

I made changes in line with what coblee did for litecoin, but modified them some to take into account the differing block times and current value of a coin.  I've also put in some other changes that I think will help fairbrix resist attack in the future.  All the changes I made relate to spam transactions being included or relayed by honest nodes.  If an attacker controls a significant portion of the hash power (a real possibility in fairbrix) he can bypass these checks and write 1,000,000 byte blocks.

You can get the source from: https://github.com/beecee1/Fairbrix   sorry, no pre-compiled binaries.

If you like what I have done, you can donate: fVQZtuBPRdVjbNskqHLB4e75Uq64dM9vWN

Here is a description of all the changes I made (and, you have the source code so you can verify it yourself).


In main.h:

From:
static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
To 125,000 bytes:
static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/8;
Why: reduces the size of a block that an unmodified client will generate, helps protect against block-chain growth attacks


From:
static const int64 CENT = 1000000;
To:
static const int64 CENT = COIN/100;
Why: easier to read, no real change


From:
static const int64 MIN_TX_FEE = 50000;
static const int64 MIN_RELAY_TX_FEE = 10000;
To:
static const int64 MIN_TX_FEE = 1000000;
static const int64 MIN_RELAY_TX_FEE = MIN_TX_FEE;
Why: increase the minimum fee (when fees apply) to 0.01.  This is less than litecoins so you that the fee isn't quite so large when you send an output that is nearly a cent.  However, there is code elsewhere that will increase this fee for very small outputs.


From:
int64 nMinFee = (1 + (int64)nBytes / 1000) * nBaseFee;
To:
int64 nMinFee = (1 + (int64)nBytes / 500) * nBaseFee;
Why: This makes large sized transactions cost a more than before.


From:
if (nNewBlockSize < 27000)
To:
if (nNewBlockSize < 12000)
Why: since blocks are faster than in bitcoin, reserve less space for free transactions.


From:
        if (nMinFee < nBaseFee)
            BOOST_FOREACH(const CTxOut& txout, vout)
                if (txout.nValue < CENT)
                    nMinFee = nBaseFee;
To:
        BOOST_FOREACH(const CTxOut& txout, vout) {
            if (txout.nValue < CENT/10) { // outputs smaller than 0.0001
                nMinFee += nBaseFee * 10; // fee of 1
                smallTxOutCount++;
            }
            else if ((txout.nValue < CENT)) {
                nMinFee += nBaseFee;
                smallTxOutCount++;
            }
        }
Also add:
        if(smallTxOutCount > 15)
            nMinFee = MAX_MONEY;
Why:  This is the core change to limit dust spam.  Instead of a flat fee for small outputs charge a fee for each small output.  If there are more than 15 small outputs than don't allow the transaction at all.




In main.cpp

From:
if (dFreeCount > GetArg("-limitfreerelay", 15)*10*1000 && !IsFromMe(*this))
To:
                dFreeRelay = GetArg("-limitfreerelay", 5)*10*1000;
                dPartialRelay = dFreeRelay * 0.75;
                dNewFreeCount = dFreeCount + nSize;
                if( !( dNewFreeCount <= dFreeRelay
                    || dFreeCount < dPartialRelay
                    || IsFromMe(*this)
                  )
                )
Why: another spam attack mitigation. Don't relay more than (on average) 5000 bytes of free transactions a minute.  This is roughly equivilant to 20 normal sized transactions per minute, which is far in excess of the current volume.


Add:
        (nHeight == 15000 && hash != uint256("0x7c7fc755c19616fd3eb156b53dae2bbf058972e0731f3d0ee54785cc222f4bbf")))
Why:  add a checkpoint lockin at block 15000



From:
bool fAllowFree = (nBlockSize + nTxSize < 4000 || CTransaction::AllowFree(dPriority));
To:
bool fAllowFree = (nBlockSize + nTxSize < 1800 || CTransaction::AllowFree(dPriority));
Why:  Since blocks are faster in Fairbrix, don't allow as many exempted free transactions. (But they are slower than Litecoin's so allow more than that).



In wallet.cpp:

From:
int64 nPayFee = nTransactionFee * (1 + (int64)nBytes / 1000);
To:
int64 nPayFee = nTransactionFee * (1 + (int64)nBytes / 500);
Why: matching a change made in main.h

donator
Activity: 1653
Merit: 1286
Creator of Litecoin. Cryptocurrency enthusiast.
November 28, 2011, 08:40:32 PM
Is fairbrix succceptible to the tansaction spamming that hit Litecoin?  If so, could it be possible to get an updated Fairbrix client?  {Is TBX need updating too?}

I dont think anyone is working with Fairbrix any longer. Coblee moved onto litecoin so unless someone forks litecoin's code I dont think this will be patched..

TBX is in the same boat. Lolcust will need to update it though i havent seen any updates at all.

Yes, both fairbrix and tenebrix are susceptible to the same transaction spams. I do not plan to update fairbrix with the fixes. If anyone wants to keep fairbrix alive, feel free to take over.
legendary
Activity: 889
Merit: 1000
Bitcoin calls me an Orphan
November 28, 2011, 05:15:39 PM
Is fairbrix succceptible to the tansaction spamming that hit Litecoin?  If so, could it be possible to get an updated Fairbrix client?  {Is TBX need updating too?}

I dont think anyone is working with Fairbrix any longer. Coblee moved onto litecoin so unless someone forks litecoin's code I dont think this will be patched..

TBX is in the same boat. Lolcust will need to update it though i havent seen any updates at all.
hero member
Activity: 518
Merit: 500
October 10, 2011, 04:28:39 PM
8 Japanese scammers plot is just getting bigger and bigger.

Why don't you release the scrypt GPU miner even if it sucks ?
Why don't you make it viable on Intel CPUs ?
Why don't you pregenerate less coins ?
Why is there so much focus on exchanges already ( pump and dump much ) ?
Why yet another new CPU ScamChain all based on scrypt crap algo ?

See the pattern. Educate yourselves.
Oldminer - please go away.
It's one thing to be annoying, but in your case your both annoying and often wrong.
At least try to get most of the crap you say right (not all of it, just most of it)
It just make you look like a complete fool to everyone here on the forum who has an inkling of reality.

WTF now I am "OldMiner" before I was RealSolid / CoinHunter !? Get your facts straight man, the only scammers on here are your 8 Japanese fake scammer identities. I am myself.
legendary
Activity: 4466
Merit: 1798
Linux since 1997 RedHat 4
October 10, 2011, 07:18:49 AM
8 Japanese scammers plot is just getting bigger and bigger.

Why don't you release the scrypt GPU miner even if it sucks ?
Why don't you make it viable on Intel CPUs ?
Why don't you pregenerate less coins ?
Why is there so much focus on exchanges already ( pump and dump much ) ?
Why yet another new CPU ScamChain all based on scrypt crap algo ?

See the pattern. Educate yourselves.
Oldminer - please go away.
It's one thing to be annoying, but in your case your both annoying and often wrong.
At least try to get most of the crap you say right (not all of it, just most of it)
It just make you look like a complete fool to everyone here on the forum who has an inkling of reality.
hero member
Activity: 518
Merit: 500
October 10, 2011, 04:50:24 AM
8 Japanese scammers plot is just getting bigger and bigger.

Why don't you release the scrypt GPU miner even if it sucks ?
Why don't you make it viable on Intel CPUs ?
Why don't you pregenerate less coins ?
Why is there so much focus on exchanges already ( pump and dump much ) ?
Why yet another new CPU ScamChain all based on scrypt crap algo ?

See the pattern. Educate yourselves.
donator
Activity: 1653
Merit: 1286
Creator of Litecoin. Cryptocurrency enthusiast.
October 10, 2011, 04:45:48 AM
zlib1.dll missing
libiconv-2.dll is missing.
libintl-8.dll is missing.
pthreadGC2.dll is missing

i copied every file from tenebrix & now i am getting,
Code:

C:\Users\dishwara\Desktop\litecoin-windows-miner-10-09-2011>minerd.exe --algo sc
rypt --s 5 --threads 2 --url http://pool.simplecoin.us:8337 --userpass XXXX
[2011-10-10 14:11:15] Long-polling activated for http://pool.simplecoin.us:8337/
LP
[2011-10-10 14:11:16] 2 miner threads started, using SHA256 'scrypt' algorithm.
[2011-10-10 14:12:09] thread 0: 65535 hashes, 1.22 khash/sec
[2011-10-10 14:12:09] thread 1: 65535 hashes, 1.22 khash/sec
[2011-10-10 14:13:12] thread 0: 72816 hashes, 1.16 khash/sec
[2011-10-10 14:13:12] thread 1: 72816 hashes, 1.16 khash/sec


Speed is same as tenebrix minerd

Oops. sorry. That is the tenebrix miner. No one has compile a Windows version of the ArtForz miner yet.
legendary
Activity: 1855
Merit: 1016
October 10, 2011, 04:44:50 AM
zlib1.dll missing
libiconv-2.dll is missing.
libintl-8.dll is missing.
pthreadGC2.dll is missing

i copied every file from tenebrix & now i am getting,
Code:

C:\Users\dishwara\Desktop\litecoin-windows-miner-10-09-2011>minerd.exe --algo sc
rypt --s 5 --threads 2 --url http://pool.simplecoin.us:8337 --userpass XXXX
[2011-10-10 14:11:15] Long-polling activated for http://pool.simplecoin.us:8337/
LP
[2011-10-10 14:11:16] 2 miner threads started, using SHA256 'scrypt' algorithm.
[2011-10-10 14:12:09] thread 0: 65535 hashes, 1.22 khash/sec
[2011-10-10 14:12:09] thread 1: 65535 hashes, 1.22 khash/sec
[2011-10-10 14:13:12] thread 0: 72816 hashes, 1.16 khash/sec
[2011-10-10 14:13:12] thread 1: 72816 hashes, 1.16 khash/sec


Speed is same as tenebrix minerd
donator
Activity: 1653
Merit: 1286
Creator of Litecoin. Cryptocurrency enthusiast.
October 10, 2011, 04:34:39 AM
oops....
I downloaded from here.
https://bitcointalksearch.org/topic/new-demonstration-cpu-miner-available-1925

Is there any way to get precompiled windows client?

Try using the one compiled for Litecoin:
  https://bitcointalksearch.org/topic/ann-litecoin-a-lite-version-of-bitcoin-launched-47417

Let me know if that works.
legendary
Activity: 1855
Merit: 1016
October 10, 2011, 04:33:20 AM
oops....
I downloaded from here.
https://bitcointalksearch.org/topic/new-demonstration-cpu-miner-available-1925

Is there any way to get precompiled windows client?
donator
Activity: 1653
Merit: 1286
Creator of Litecoin. Cryptocurrency enthusiast.
October 10, 2011, 04:29:53 AM
How are you downloading it?
Are you doing "git clone git://github.com/ArtForz/cpuminer.git" ?
legendary
Activity: 1855
Merit: 1016
October 10, 2011, 04:28:34 AM
Windows 7, 64 bit.
I downloaded cpuminer from 1st post & created a batch file & run it with out algo & getting this.

minerd.exe --s 5 --threads 2 --url http://pool.simplecoin.us:8337 --userpass xxxxxxxxxx

Code:
C:\CPU-miner>minerd.exe --s 5 --threads 2 --url http://pool.simplecoin.us:8337 -
-userpass xxxxxxxxxx
[2011-10-10 13:54:16] 2 miner threads started, using SHA256 'c' algorithm.
[2011-10-10 13:54:20] Long-polling activated for http://pool.simplecoin.us:8337/
LP
[2011-10-10 13:54:32] LONGPOLL detected new block
[2011-10-10 13:54:32] thread 0: 12625410 hashes, [2011-10-10 13:54:32] thread 1:
 12348138 hashes, 1024.18 khash/sec
1023.87 khash/sec
[2011-10-10 13:55:10] LONGPOLL detected new block
[2011-10-10 13:55:10] thread 1: 37323520 hashes, [2011-10-10 13:55:10] thread 0:
 37031617 hashes, 977.93 khash/sec
978.53 khash/sec
[2011-10-10 13:56:16] thread 0: 58470974 hashes, 901.08 khash/sec
[2011-10-10 13:56:16] thread 1: 58931873 hashes, 901.42 khash/sec

sr. member
Activity: 313
Merit: 251
Third score
October 10, 2011, 04:22:43 AM
i dont understand, which branch?
can u give link?

If you gitcloned github.com/ArtForz/cpuminer then just compile and run the miner without specifying algo. I guess these options are left from the original cpuminer. They are irrelevant for Tbrix/Fbrix mining.

I got 1.78 KH/s per thread with Artforz's miner instead of 1.44 KH/s with Tbrix miner on a Xeon E5320.
legendary
Activity: 1855
Merit: 1016
October 10, 2011, 04:13:09 AM
i dont understand, which branch?
can u give link?
Pages:
Jump to: