[Passed] Motion to provide seed funding for B&C Exchange - a decentralized exchange built on the Peershares platform

I think I’m right in saying that the minimum coinage is 1 BKS (1BKS == 10000 NSR)
The minting reward is 0.1 BKS
edit: Ah coin-age not coinage. ignore that first bit then (I think it remains as 7 days)
damn decimal point too! yup, 0.01 not 0.1

2 Likes

According to the design document (Section “Use case: Minter and shareholder”, page 19) the minimum coinage for minting is said to be 7 days.
The minting reward is reported to be 0.01 BKS and the minimum mount of BKS to mint is 1.

0.01 is right, but you only need 1 BKS to mint. The threshold is lower (by 4x) but the reward is greater (by 2.5x) than for nsr.

Oh, thank you for pointing that out. I misread your post at bitcointalk.org (which clearly states that 1 BKS is required to mint) and have corrected my last post.

Thanks for all the answers so far.

Which port is B&C using?

I see
tcp 0 0 0.0.0.0:2239 0.0.0.0:* LISTEN 2888/bcexchanged
tcp 0 0 127.0.0.1:2240 0.0.0.0:* LISTEN 2888/bcexchanged
tcp 0 0 127.0.0.1:2241 0.0.0.0:* LISTEN 2888/bcexchanged

on netstat

Willy

tcp/2239 is what all connected peers show

bcexchanged getpeerinfo
[
    {
        "addr" : "62.210.15.44:2239",
        "services" : "00000001",
        "lastsend" : 1438376669,
        "lastrecv" : 1438376668,
        "conntime" : 1438334577,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-unk-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 34349,
        "banscore" : 0
    },
    {
        "addr" : "176.9.113.75:2239",
        "services" : "00000001",
        "lastsend" : 1438376669,
        "lastrecv" : 1438376669,
        "conntime" : 1438334578,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-RC2-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 34349,
        "banscore" : 0
    },
    {
        "addr" : "104.130.130.34:2239",
        "services" : "00000001",
        "lastsend" : 1438376497,
        "lastrecv" : 1438376668,
        "conntime" : 1438334578,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-RC1-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 34349,
        "banscore" : 0
    },
    {
        "addr" : "62.4.15.180:2239",
        "services" : "00000001",
        "lastsend" : 1438376657,
        "lastrecv" : 1438376668,
        "conntime" : 1438334579,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-unk-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 34349,
        "banscore" : 0
    },
    {
        "addr" : "67.170.53.99:2239",
        "services" : "00000001",
        "lastsend" : 1438376669,
        "lastrecv" : 1438376669,
        "conntime" : 1438334596,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-RC2-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 34351,
        "banscore" : 0
    },
    {
        "addr" : "120.24.210.125:2239",
        "services" : "00000001",
        "lastsend" : 1438376669,
        "lastrecv" : 1438376669,
        "conntime" : 1438334672,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-RC1-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 34351,
        "banscore" : 0
    },
    {
        "addr" : "73.171.28.236:2239",
        "services" : "00000001",
        "lastsend" : 1438376668,
        "lastrecv" : 1438376668,
        "conntime" : 1438335316,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-RC1-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 34362,
        "banscore" : 0
    },
    {
        "addr" : "114.215.118.148:2239",
        "services" : "00000001",
        "lastsend" : 1438376669,
        "lastrecv" : 1438376669,
        "conntime" : 1438335922,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-RC1-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 34373,
        "banscore" : 0
    }
]

You should be able to specify a port (if it shall be different from 2239) in the bcexchange.conf

port=xyz
1 Like

Oh boy… that sure was the easiest solution. I can stop skimming the source code now :smiley:
Thank you so much.

2 Likes

I can’t read code. I need to use other tools :wink:

After successful compilation of bcexchanged on my RaspberryPi2 (and running it stable since then (July 31, 2015)) I’ve experienced different behaviour of “bcexchanged” and “nud”.

Shortly after the daemon is started, bcexchanged is responsive to RPC, e.g.

bcexchanged getinfo

while nud is complaining about “error: couldn’t connect to server” for several minutes. Is this due to the bigger blockchain of Nu? Is there a kind of integrity scan running? Both Nu and BCE wallets are empty. So there’s no need to search for transactions related to keys.
Oh wait - the client needs to scan the blockchain anyway, because it wouldn’t know that there are no transactions to private addresses in the wallet, right? Even an “empty” wallet contains keys…
…but even if that scan is going - why does it interfere with executing RPC commands?

The RAM assignment is very different as well.

  • bcexchanged uses ~6% RAM (60 MB)
  • nud uses ~45% RAM (450 MB)

Is that difference of RAM assignment due to changes in the Nu 2.0 code from which BCE was forked?
Would compiling nud from 2.0 code reduce nud RAM assignment?

The B&C Exchange OS X application was announced a few days ago.

2 Likes

It used to be at 8 connections, but as of late it has dropped to only 1. Still staking so no complaints, but wondering if anybody else has the same issue?

My node hasn’t seen any new block past 40421 for 40 min. It has 4 connections including 62.4.15.180 . Is it on a wrong branch?

edit: right after I posted the node connected to a new peer and received 50 new blocks. How often such temperory out-of-sync happens, I wonder.

My RaPi shows:

bcexchanged getinfo
{
    "version" : "v3.0.0-unk-beta",
    "protocolversion" : 2000000,
    "walletversion" : 1,
    "walletunit" : "8",
    "balance" : 0.0,
    "newmint" : 0.0,
    "stake" : 0.0,
    "parked" : 0.0,
    "blocks" : 40473,
    "moneysupply" : 208564.521,
    "connections" : 8,
    "proxy" : "",
    "ip" : "*CENSORED*",
    "difficulty" : 0.00041031,
    "testnet" : false,
    "keypoololdest" : 1438334508,
    "keypoolsize" : 101,
    "paytxfee" : 0.01,
    "errors" : ""

Thanks. All seem well here now. I am on R-pi B, compiled from a git pull yesterday. I see you get 8 connections. Mind posting them?

yep, 1 connection here also

No, totally not. They are publicly available for everyone joining the BCE network :wink:

bcexchanged getpeerinfo
[
    {
        "addr" : "120.24.210.125:2239",
        "services" : "00000001",
        "lastsend" : 1438674210,
        "lastrecv" : 1438674210,
        "conntime" : 1438673461,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-RC1-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 40472,
        "banscore" : 0
    },
    {
        "addr" : "73.171.28.236:2239",
        "services" : "00000001",
        "lastsend" : 1438674209,
        "lastrecv" : 1438674209,
        "conntime" : 1438673462,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-RC1-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 40472,
        "banscore" : 0
    },
    {
        "addr" : "121.199.64.105:2239",
        "services" : "00000001",
        "lastsend" : 1438674210,
        "lastrecv" : 1438674084,
        "conntime" : 1438673471,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-RC2-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 40472,
        "banscore" : 0
    },
    {
        "addr" : "67.170.53.99:2239",
        "services" : "00000001",
        "lastsend" : 1438674210,
        "lastrecv" : 1438674209,
        "conntime" : 1438673472,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-RC2-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 40473,
        "banscore" : 0
    },
    {
        "addr" : "62.4.15.180:2239",
        "services" : "00000001",
        "lastsend" : 1438674210,
        "lastrecv" : 1438674209,
        "conntime" : 1438673478,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-unk-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 40473,
        "banscore" : 0
    },
    {
        "addr" : "104.130.130.34:2239",
        "services" : "00000001",
        "lastsend" : 1438674210,
        "lastrecv" : 1438674209,
        "conntime" : 1438673479,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-RC1-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 40473,
        "banscore" : 0
    },
    {
        "addr" : "114.215.118.148:2239",
        "services" : "00000001",
        "lastsend" : 1438674210,
        "lastrecv" : 1438674210,
        "conntime" : 1438673480,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-RC1-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 40473,
        "banscore" : 0
    },
    {
        "addr" : "62.210.15.44:2239",
        "services" : "00000001",
        "lastsend" : 1438674210,
        "lastrecv" : 1438674178,
        "conntime" : 1438673493,
        "version" : 2000000,
        "subver" : "/Siglee:3.0.0/B&C Exchange:3.0.0(v3.0.0-unk-beta)/",
        "inbound" : false,
        "releasetime" : 0,
        "height" : 40473,
        "banscore" : 0
    }
]

Here’s a more convenient overview of the IP addresses:

bcexchanged getpeerinfo | grep addr | sed 's/"addr" : "//' | sed 's/:2239",//'
        120.24.210.125
        73.171.28.236
        121.199.64.105
        67.170.53.99
        62.4.15.180
        104.130.130.34
        114.215.118.148
        62.210.15.44
1 Like

somebody care to help me compile a list of

addnode=xxx.xxx.xxx.xxx

in my conf file?

edit: ok thx

Thanks. We shared these two

Our nodes only had one degree of separation at most. How come these two nodes didn’t tell my node about other ones?

Anyway thanks for the list. Having 8 connections now.

Uh oh. Happens again for 15min. debug.log goes totally quiet.

The seed nodes I manage have 35-40 connections and are at height 40750. You may be connected to bad nodes. Try shutting down the client, removing addr.dat and starting it again.