Author

Topic: BTCD is no more - page 113. (Read 1328507 times)

newbie
Activity: 24
Merit: 0
May 27, 2015, 06:39:35 PM
Hi everyone,

I would like to announce bitcoindark's newest gaming site:

bitcoindarkdice.net

I have had some more players lately! I will increase the bet limit soon.

Please have fun and play responsibly!

We also have a chat room, feel free to use it! Smiley
sr. member
Activity: 448
Merit: 250
May 27, 2015, 01:52:49 PM
Good dividend payout !
Keep up the good work  Cheesy
legendary
Activity: 1526
Merit: 1002
Bulletproof VPS/VPN/Email @ BadAss.Sx
May 27, 2015, 12:26:20 PM
Thanks for tha wallet Wink
sr. member
Activity: 441
Merit: 500
May 26, 2015, 11:20:33 AM
This Week's BitcoinDark Blog Topic: Market-Making BitcoinDark Asset

http://bitcoindark.pw/mmbtcd-btcd-market-making-and-mutual-fund/


sr. member
Activity: 441
Merit: 500
May 21, 2015, 11:15:24 AM
BitcoinDark Slack Logs (5/19-5/21)

torrn - Torrn (bitcoindark)BOT 9:55 AM These are the 2 donation address
BTCD: RDtnnLj5LQ8YMxBJbHX1N4jNKeaC67FLGW
BTC: 36vQrrrjT1A8X3s56fdfkYzWzMgjSWhTWY
Current totals:
BTCD donation total: 2595.218
BTC donation total: 1.052051
In this weeks BitcoinDark Bulletin:Tradebots 101
http://bitcoindark.pw/tradebots-101/
https://i.imgur.com/iEoGlb9.jpg (146KB)
btcddev 10:04 AM
vanilla btcd blockchain structure looking more archaic every day :simple_smile:
cassius 10:05 AM
I need to find out about Lchains. James keeps inventing new things.
btcddev 10:06 AM
It has way too many classes for blockchain structure in my opinion, vanilla btcd. too complex and wasteful
at least with ramchains we can find a block by height in O(1) :smile:
visual1 10:15 AM
joined #btcd
azeh 10:20 AM
cassius, I guess you'll have a lot of new material for future blogs :grinning:
cassius 10:20 AM
Yes
Sometimes my brain feels like a hamster on a treadmill
visual1 10:22 AM
is there a btcd ubuntu wallet?
btcddev 10:22 AM
@visual1 yes, build from source
visual1 10:23 AM
so for someone who doesn't know what that means...
btcddev 10:23 AM
open a terminal
git clone git://github.com/laowais/bitcoindark
cd bitcoindark
qmake
make
let me know if you get errors
visual1 10:24 AM
alright thank you
btcddev 10:24 AM
you're welcome
cassius 10:25 AM
I didn't know that. Is it the same as the Windows one?
btcddev 10:26 AM
yes
that's vanilla btcd
cassius 10:26 AM
Nice to know
Would it run on a Pi? And more to the point, will the new one manage on a Pi?
btcddev 10:29 AM
I think someone got it running on one
the new one, im not sure
it requires nxt and btcd to run supernet plugin
i'd say it needs at least 2gb ram
cassius 10:30 AM
Ok. I don't have one but it might make sense to get one for staking at some point, so I can stake 24/7
Or maybe an old netbook. Will wait for SuperNET release though.
btcddev 10:32 AM
good idea
i have been thinking about that as well
need something dedicated, secure
cassius 10:33 AM
Right. Nothing else, just SuperNET. But not too expensive, either :simple_smile:
Ideally bought with SuperNET dividends, and leaving enough over to pick up a second-hand Lambo
I don't ask for much out of life
btcddev 10:34 AM
haha nice
jahl 1:16 PM
price going up :confused:
btcddev 1:20 PM
Unfortunately Sad I wanted to buy some yesterday at .0032
jahl 1:23 PM
i knew i shoudl have exploited the typo in the wallet announcement as FUD
btcddev 1:39 PM
what typo
jahl 1:40 PM
BCTD instead of BTCD
btcddev 1:40 PM
hahaha
crackers 2:05 PM
FYI: Latest shift for the xpool.ca multipool paid out 125+ BTCD.
jahl 2:07 PM
wow, nice payout again :simple_smile:
3 days? havent checked
crackers 2:09 PM
monday's was held over to today
since yesterday was a holiday in canada
mivond 3:58 PM
Hi @channel Please come try out bitcoindarkdice.net! A betting site exclusively dedicated to BTCD! :simple_smile: Have fun!
pondsea 3:58 PM
ffs i had to buy more and price moves up :disappointed:
btcddev 4:04 PM
I missed them at .0032 too Sad
neal 4:16 PM
It's only ~$0.85. Still cheap if BTCD fulfils it's promise. Could be epic. :simple_smile:
gambleh 4:22 PM
left #btcd
visual1 7:36 PM
my BTCD wallet isn't connecting to peers...any quick fix for this?
kripto 4:02 AM
hi,
i sent some mgwBTCD to NXT-6YQW-HHCG-NATW-DCHJ3 two days ago and still no superBTCD back
does anyone know if this delay is normal?
bizz 4:07 AM
maybe quicker method would be just sending mgwbtcd to btcd address from supernet wallet?
js.galt 4:24 AM
@visual1:  https://sprnt.slack.com/files/js.galt/F0481TREP/adding_more_nodes_to_bitcoindark
js.galt 4:24 AM

Mentioned a post: Adding more nodes to BitcoinDark
This improves staking among other things.
Copy and paste the following into BitcoinDark.conf
rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
rpcport=14632
port=14631
gen=0
server=1
addnode=107.170.59.196
addnode=146.185.188.6
addnode=74.91.20.250:39997
… more
New window • Add comment
visual1 10:00 AM
@js.galt there was no BitcoinDark.conf file so I made one and it isn't working
it did save as a conf file
btcddev 10:20 AM
visual1: where is it saved
cassius 10:33 AM
@channel A very generous gesture from coinomat should really kickstart MMBTCD dividends next week: https://nxtforum.org/assets-board/btcd-mutual-fund-and-market-making-asset-mmbtcd/msg179617/#msg179617
BTCD mutual fund and market-making asset, MMBTCD
btcddev 11:54 AM
I've been going on something of a btcd-buying binge here lately :simple_smile:
knuckle 11:57 AM
what is the best place to buy BTCD?
I got my “starter set” through ShapeShift, which doesn’t have good rates
but if I wanted to get, say $1000 in BTCD… ?
btcddev 11:59 AM
i usually use bittrex
liquidity is pretty low everywhere
knuckle 11:59 AM
oh good, I have an account there
thanks!
btcddev 12:00 PM
you're welcome
jahl 2:17 PM
wow, great news from coinomat !
cassius 2:17 PM
Hold up
Just clarifying a few things
Deleted that post until it's clear
jahl 2:19 PM
damn those buywalls increasing
cassius 2:20 PM
AE or Trex?
jahl 2:20 PM
trex
cassius 2:20 PM
:simple_smile:
visual1 7:52 PM
@btcddev it's saved on a USB. when I unzipped the .rar, i only got a -qt wallet
so i just made a .conf file with wordpad
btcddev 8:39 PM
are you on windows?
You need to save it, visual1, to C:\Users\\AppData\Local\BitcoinDark\BitcoinDark.conf
visual1 8:42 PM
Oh that's right, i'll try that
yeah i am
visual1 8:52 PM
alright, looks like it's going now. thanks for the help!
jl777 8:58 PM
I pushed a test release
it supports sending commands to the decentralized load balancer
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"ledgerhash","coin":"BTCD","broadcast":"allpeers"}'
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"addrind","coin":"BTCD","broadcast":"allpeers","addr":"RM5NNYdGee6X65aFGkyaRkYocSxQVNsB8d"}'
the calling method is different
if you leave off the "broadcast":"allpeers", it just queries the local node
but what this means that even if you have no local ramchain, you can get ramchain info from all the nodes that do
{
   "userdir":"/home/username",
   "secret":"randvals","myipaddr":"youripaddr"
}
I simplified the SuperNET.conf a bit
the minimum SuperNET.conf file is above
using "secret":"randvals" generates randvals files and these contain your key, so keep them safe!
you can also just directly put the passphrase instead of "randvals"
i have other options for passphrase management, but for now, lets keep that part simple
after cloning a fresh copy from my repo (it is used for tests though so make sure to checkout a stable copy)
https://github.com/jl777/btcd/commit/a8c5809efee830102b9d5371b6b63bbbdb8de173 appears to be stable
cd into the libjl777 directory and do:
make onetime
make SuperNET; make btcd
There are very few dependencies for SuperNET: make clang-3.5 autoconf  libtool libcurl4-gnutls-dev unzip autogen
so apt-get install those if you dont have them
to bootstrap a system from scratch for full btcd build just do:
make dependencies
then if the make of btcd or SuperNET failed, it should work. make a SuperNET.conf with the three required fields in the libjl777 directory
now you can launch ./BitcoinDarkd
current methods (changing all the time) for ramchain plugin is:
#define PUB_METHODS "ledgerhash", "richlist", "txid", "txidind", "addr", "addrind", "script", "scriptind", "balance", "unspents", "notify"
char *PLUGNAME(_methods)[] = { PUB_METHODS, "create", "backup", "pause", "resume", "stop" }; // list of supported methods
mostly self explanatory. to create a ramchain:
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"create","coin":"BTCD"}'
to pause it:
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"pause","coin":"BTCD"}'
you can generate to a specific block by setting "end":350000
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"richlist","coin":"BTCD"}'
returns:
return.({"supply":1218020.71387317,"richlist":[["RBF9tS45eKBab2L4ZYdQEzMVnp5vtHUuqC", "40000.00000000"], ["RGgbJiV2Hs8eWJbZmZ3hZLS8sSzFA7tYNu", "38773.29296875"], ["RA7FDvaNFXZNLqosSbCWFbypuvijJNQw5J", "37702.49609375"], ["RQ5zLFGwZGhTKbANAbCHaAP1ghZWnv6wKE", "32116.67578125"], ["RT9obeyoapYL1kzZdrBKTtJvasTJoDTiwA", "28311.67968750"], ["RMo9emPiNDd1kvn9jpDBEvLavPxb9rdyNk", "18650.31250000"], ["R9pEPKTktBGmG9ggi2TGn4USjVXPzQ5Tm1", "18210.96679688"], ["RMtkykzKuKiP4PNjgqKH6FrcSJm4Y6eA8n", "17148.80859375"], ["RWcg6XBmisrbkMYvzV9u7j1HvgMg4LuUYC", "16779.16796875"], ["RWAxa88tQXVDY64Bwz6DP2ZppsFotibaYh", "15620.54687500"], ["RQif3cnnrWjP2zzrhum24FjgwS4wBzBfts", "15618.84863281"], ["RJ94yrqKCP3XjFsAsNj9WXS5SLpyHUpx5n", "15617.99511719"], ["RBCLnsjCVHWRyUpfgauyzUu8iP6X5CabJT", "15587.90722656"], ["RGaV5Qxi2PdtMpe8GR9MpQ9JogDz5oaZbK", "15147.80078125"], ["RJPGpRQ4nudwzw6mjWCUb6cq7aWP4to6pM", "14820.11523438"], ["RDnHMnK8tgm9WmY9u3EoRLww9FyFBannCa", "14590.96875000"], ["RWc6VDt5SdjnWXoVQ2AJsuxU2QSaDcG5R7", "14576.76953125"], ["RWUTuApNQuuSustN4DBt6PxxVRwZhh52An", "14405.32910156"], ["R9g77ds8kFS58V24s9Wodt8quMB8NSp3FC", "13069.25292969"], ["RXcEPd6zV1hHAVZzfe2d8Ccv3MzHMZEZ49", "12795.74023438"], ["RUZ9AKxy6J2okcBd1PZm4YH6atmPwqV4bo", "12693.13964844"], ["RDvdbqJLu8GgLL1TvdADNeCbbjXRmHBjog", "11563.78906250"], ["RR1svWTDxD6bjtkXDzq4vhB6PWPETPNU42", "11430.56445312"], ["RYNE2isKrRu5b7xxm1DtXcLxdmBEKatuJY", "11337.11425781"], ["RV5eKvybKDNctYxXiNYV766PzCakiUNRRm", "11308.52539062"],]})
it has extra comma so doesnt parse, so there are still bugs, but I dont have the time to find all the bugs myself
or if I have to, it necessarily delays the completion.
I am not so worried about exact completion date, but if you are then you can help by testing
if you can construct JSON command lines like above, you can test!
if you can make an HTML front end to make it easy for others to test, then there will be a bounty for that
I think the wallet should have a debug mode where you can issue such API calls
notice that with "broadcastflag":"allpeers" the request is sent to the relays, which then randomly selects one of them to act as a coordinator for that request
it then relays your request to all the peers and the ones that are able to (or want to) respond will send the result back to the coordinator
who then collates it into a single request and sends it back to your node
it flows back through and appears magically on the command line
so with a single BitcoinDarkd RPC call you trigger an entire chain of events, which just happens to make establishing a peer based consensus much easier as you now have data from all the peers to compare
*****
for people that dont care much about making API calls to ramchains (I know there are people such as this), there is a reason for you to care about all this
ramchains is implemented as a plugin and it is publishing which methods it can execute locally or for public access
replace "ramchains" with "anything"
and then all nodes can access via relays all the nodes that are supporting the "anything" plugin
and the plugin can literally be for anything!
SuperNET itself is implemented as a plugin that connects into BTCD
then all the other plugins connect to SuperNET
you can publish methods that require authentication, but I am still working out the details on this, so there will be at least three levels of methods, for each plugin
by setting "iamrelay":1 to your SuperNET.conf, it tells the other relays that you are a relay too, and so this makes it fully decentralized
I have not beefed up the security or privacy yet, so just for testing now
in addition to having public methods accessible via the decentralized load balancer, you can also offer subscriptions to a data stream
this can be things like notifications of any changes to an address (or set of addresses)
or anything that can be turned into data
which is quite a few things
I havent implemented a billing/accounting system yet, but I dont see any big hurdles for that. current ideas are for publishers to set prices and subscribers to pay for them, with the system managing the payment process. maybe I will setup auction pages within InstantDEX, not sure the details
currently there are the following plugins: SuperNET, echodemo, coins, relay, peers, ramchain, db777, subscriptions, MGW in various stages of completeness
the SuperNET plugin has just a couple of methods, "install" and "plugin"
"install" installs a new plugin (which can theoretically be in any of a dozen languages) that is a standalone program
and "plugin", which just routes a request to the named plugin
"echodemo" demonstrates a minimal plugin in echodemo.c (85 lines of C) with "echo" method, that echos what is sent to it
"coins" interfaces to coin daemons, any gen1 coin is supported and if it is added to the source code you dont even have to configure it in SuperNET.conf, but if it isnt, you can add support for it via the "coins":[:"name":"COIN",...} array
to add support for a new coin:
char *coindirs[][3] = { {"BTC",".bitcoin"}, {"BTCD",".BitcoinDark"}, {"LTC",".litecoin"}, {"VRC",".vericoin"}, {"VPN",".vpncoin"} };
just one little array needs to be added to and this means via the coins array you can communicate to any other coin daemon, but I have not had a chance to add many methods to the coins plugin as I am concentrating on MGW support
you know about ramchain's current methods
db777 is the database engine based on sophia http://sphia.org/v12.html
relays deals with the decentralized load balancer and it automatically reconfigures the network topology as more relays are added. it also supports direct connections so you can connect directly to a specific relay
char *PLUGNAME(_methods)[] = { "list", "add", "direct", "join", "busdata", "devMGW" }; // list of supported methods for relay
it seems the peers plugin deals with the "direct" connection: char *PLUGNAME(_methods)[] = { "direct", "devMGW" };
I am about to debug that next
subscriptions plugin will manage subscriptions (including payments), but this is for a bit later
after MGW plugin is completed I will make an InstantDEX plugin
It confuses me greatly that many people are complaining about lack of progress...
how many of them have created a decentralized system for adding new services? actually has anybody else created anything like this?
somebody please make a copy of all this so it is not lost, thanks
knuckle 9:41 PM
Copied
The Gospel according to James
:snotkitten:
freakbros 9:45 PM
wow u rock
and type fast
hollowman9000 9:48 PM
joined #btcd
3rdstryker 2:16 AM
i understand bits and pieces there, enough to know you are doing a splendid job, thanks for the update!
jl777 3:56 AM
can somebody help test the accuracy of the unspents data
just need the current BTCD installed and to submit requests like
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"unspents","verbose":1,"coin":"BTCD","addr":"RM5NNYdGee6X65aFGkyaRkYocSxQVNsB8d","broadcast":"allpeers"}'
then to see how it compares with blockexplorers
for addresses with just a few tx and no spends it seems there is good agreement, but i am finding some addresses that are not matching
especially ones with a lot of tx
lemonhead 3:58 AM i would but i get the following

add_relay_connections warning: send.-1 vs 54 for ({"plugin":"ramchain","method":"create","coin":"BTCD"}) sock.0 Bad file descriptor

maybe this is yet another 32bit issue :simple_smile: i should really upgrade
jl777 3:59 AM
how are you getting that error?
lemonhead 4:00 AM
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"create","coin":"BTCD"}'
jl777 4:00 AM
add a "broadcast":"allpeers", unless you have a ramchain locally
plz dont upgrade, we need someone that runs a node from the last century
lemonhead 4:01 AM
= )
still same error
i installed clang-3.5 didnt work
it did work with clan-3.4 though
dont know if that matters
jl777 4:03 AM
well if it worked with clang-3.4 and it worked, but 3.5 broke it
i would say it matters!
lemonhead 4:03 AM
no you misunderstood
i tried to run make btcd with clang-3.5 which didnt work (edited)
make btcd with clan-3.4 worked
jl777 4:04 AM
<<<<<<<<<<<< INSIDE PLUGIN! process relay ({"result":"registered","plugin":"relay","daemonid":0,"instanceid":0,"allowremote":1,"methods":["list", "add", "direct", "join", "busdata", "devMGW"],"pubmethods":["list", "add", "direct", "join", "busdata", "devMGW"],"authmethods":["list", "add", "direct", "join", "busdata", "devMGW"]})
return.({"result":"completed","tag":"0","NXT":"16857339717008846076","allowremote":1})
BIND.(tcp://*:7790) <- NN_SURVEYOR
nn_createsocket.(NN_SURVEYOR) 16
nn_createsocket.(NN_RESPONDENT) 17
BIND.(tcp://*:7791) <- NN_PUB
nn_createsocket.(NN_PUB) 18
nn_createsocket.(NN_SUB) 19
+tcp://89.248.160.237:7787 +tcp://89.248.160.238:7787 +tcp://89.248.160.239:7787 +tcp://89.248.160.240:7787 +tcp://89.248.160.241:7787 +tcp://89.248.160.242:7787 (89.248.160.243) MATCHES me (89.248.160.243)
BIND.(tcp://*:7787) <- NN_REP
nn_createsocket.(NN_REP) 21
BIND.(tcp://*:7795) <- NN_BUS
nn_createsocket.(NN_BUS) 22
+tcp://192.99.151.160:7787 +tcp://167.114.96.223:7787 +tcp://167.114.113.197:7787 +tcp://76.176.198.6:7787 subscribed to (tcp://89.248.160.237:7791)
subscribed to (tcp://89.248.160.238:7791)
subscribed to (tcp://89.248.160.239:7791)
subscribed to (tcp://89.248.160.240:7791)
subscribed to (tcp://89.248.160.241:7791)
subscribed to (tcp://89.248.160.242:7791)
subscribed to (tcp://192.99.151.160:7791)
subscribed to (tcp://167.114.96.223:7791)
subscribed to (tcp://167.114.113.197:7791)
subscribed to (tcp://76.176.198.6:7791)
respondloop.NN_BUS 22 type.112 <- (tcp://*:7795).112
respondloop.NN_REP 21 type.49 <- (tcp://*:7787).48
respondloop.NN_SUB 19 type.33 <- ().32
respondloop.NN_RESPONDENT 17 type.99 <- ().98
LB_RESPONSE.({"result":"relay added","count":1,"NXT":"423766016895692955","allowremote":1,"tag":"5914935021125943101"})
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"create","coin":"BTCD"}'
PLUGINMETHOD.(create) for (ramchain) bundled.
what do your startup prints like above say?
lemonhead 4:05 AM i dont get any output....

lemon@lemon-ThinkPad-X201:~/btcd/btcd/libjl777$ ./BitcoinDarkd
BitcoinDark server starting
lemon@lemon-ThinkPad-X201:~/btcd/btcd/libjl777$ add_relay_connections warning: send.-1 vs 54 for ({"plugin":"ramchain","method":"create","coin":"BTCD"}) sock.0 Bad file descriptor

jl777 4:05 AM
and I still claim that if there is a compiler issue, it matters, but I dont have time to track it down now, so i changed the make file to get clang 3.4
the very beginning is:
BitcoinDark server starting
starting SuperNET 89.248.160.243:56882
back from start
SuperNET (SuperNET).argc5 parent PID.1
tag.0 initflag.1 got jsonargs.(0x7facf0000b60) 0x17d8d2e0 0x17d82400
<<<<<<<<<<<< INSIDE PLUGIN.(SuperNET)! initflag.1 process SuperNET
(NXT-CV9W-74F8-W7X9-GFCWM) (16857339717008846076) ()
>>>>>>>>>>>>>>>> INIT ********************** (./DB) () (http://127.0.0.1:7876/nxt?requestType) SUPERNET.port 7777 UPNP.0 NXT.16857339717008846076 ip.(89.248.160.243) iamrelay.1
SOPHIA.(./DB) MGW.() create path.(NXTaccts).((null)) -> [DB/NXTaccts NXTaccts].(null) restore.(DB/restore/NXTaccts)
opened.(db.NXTaccts) env.0x17d9ebc0 ctl.0x17d9ecb0 db.0x7fad27755024 asyncdb.0x7fad27755394
SOPHIA.(./DB) MGW.() create path.(nodestats).((null)) -> [DB/nodestats nodestats].(null) restore.(DB/restore/nodestats)
opened.(db.nodestats) env.0x17da4800 ctl.0x17da48f0 db.0x7fad2774a024 asyncdb.0x7fad2774a394
SOPHIA.(./DB) MGW.() create path.(busdata).((null)) -> [DB/busdata busdata].(null) restore.(DB/restore/busdata)
opened.(db.busdata) env.0x17daa640 ctl.0x17daa730 db.0x7fad2773f024 asyncdb.0x7fad2773f394
done tag.0 initflag.1 got jsonargs.(0x7facf0000b60) 0x17d8d2e0 0x17d82400
does SuperNET as standalone work>
?
lemonhead 4:07 AM
should i make ./m_unix?
jl777 4:07 AM
do a make SuperNET and ./SuperNET
m_unix makes btcd
just make SuperNET and ./SuperNET
what is your SuperNET.conf?
you need "myipaddr":"your ipaddr"
lemonhead 4:08 AM
ok SuperNET is starting
jl777 4:08 AM
from the console it is a different syntax
for convenience
there is also an alias DB
so you can assign macros to common sequences
its a bit touchy with spaces and so not quite able to use it for macro substitution inside the JSON
but you can map "any string" -> macro and then #macro replaces
lemonhead 4:10 AM

done tag.0 initflag.1 got jsonargs.(0xaba0b0b0) 0x7ef12170 0x7ef11ff0
{"result":"initflag > 0"}
CONFIGURED.(relay) argc.5: PERMANENT myid.16222167093867489612 daemonid.2147483647 NXT.
peers (peers).argc5 parent PID.3622
tag.0 initflag.1 got jsonargs.(0xaba0d360) 0x12b054e8 0x12b02a30
PEERS ({"result":"initflag > 0"})
done tag.0 initflag.1 got jsonargs.(0xaba0d360) 0x12b054e8 0x12b02a30
{"result":"initflag > 0"}
CONFIGURED.(peers) argc.5: PERMANENT myid.6098220584568878940 daemonid.2147483647 NXT.
subscriptions (subscriptions).argc5 parent PID.3622
tag.0 initflag.1 got jsonargs.(0xaba0f618) 0x7ef172a0 0x7ef16970
done tag.0 initflag.1 got jsonargs.(0xaba0f618) 0x7ef172a0 0x7ef16970
{"result":"initflag > 0"}
CONFIGURED.(subscriptions) argc.5: PERMANENT myid.9497324997358310183 daemonid.2147483647 NXT.
{"result":"launched","daemonid":"5559986211748"}
 {"result":"launched","daemonid":"5560875444493"}
 {"result":"launched","daemonid":"5561192716899"}
 {"result":"launched","daemonid":"5561411081330"}
 {"result":"launched","daemonid":"5561416919218"}
 {"result":"launched","daemonid":"5561132165296"}
 {"result":"launched","daemonid":"5561115064499"}
 num builtin plugin agents.7
BIND.(tcp://*:7790) <- NN_SURVEYOR
nn_createsocket.(NN_SURVEYOR) 16
nn_createsocket.(NN_RESPONDENT) 17
BIND.(tcp://*:7791) <- NN_PUB
nn_createsocket.(NN_PUB) 18
nn_createsocket.(NN_SUB) 19
+tcp://89.248.160.237:7787 +tcp://89.248.160.238:7787 +tcp://89.248.160.239:7787 +tcp://89.248.160.240:7787 +tcp://89.248.160.241:7787 +tcp://89.248.160.242:7787 +tcp://89.248.160.243:7787 +tcp://192.99.151.160:7787 +tcp://167.114.96.223:7787 +tcp://167.114.113.197:7787 +tcp://76.176.198.6:7787 conv.({"key":"foo","t":1432199288,"NXT":"0","s":"5f78c33274e43fa9de5659265c1d917e25c03722dcb0b8d27db8d5feaa813953","l":4}) slen.116
datalen.4 checklen.4 len.116
NXT.0                        key.(foo) sha.(5f78c33274e43fa9de5659265c1d917e25c03722dcb0b8d27db8d5feaa813953) datalen.4
BUSDATA.({"result":"updated busdata"}) (efbeadde)
respondloop.NN_SUB 19 type.33 <- ().32
respondloop.NN_RESPONDENT 17 type.99 <- ().98

still same error :confused:
jl777 4:10 AM
the above looks ok
do a
relay list
from console
the console shortcut is explained if you type help
but it is
{json for whatever else}
and it adds the first two into the json you provide (if any)
! -> adds "broadcast":"allpeers"
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"unspents","verbose":1,"coin":"BTCD","addr":"RM5NNYdGee6X65aFGkyaRkYocSxQVNsB8d","broadcast":"allpeers"}'
and
!ramchain unspents {"verbose":1,"coin":"BTCD","addr":"RM5NNYdGee6X65aFGkyaRkYocSxQVNsB8d"}
are equivalent
lemonhead 4:14 AM
My pc just disconnected from slack...
lemonhead 4:20 AM
!ramchain unspents {"verbose":1,"coin":"BTCD","addr":"RM5NNYdGee6X65aFGkyaRkYocSxQVNsB8d"}
seems to work
very long output

lemon@lemon-ThinkPad-X201:~/btcd/btcd/libjl777$ ./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"unspents","verbose":1,"coin":"BTCD","addr":"RM5NNYdGee6X65aFGkyaRkYocSxQVNsB8d","broadcast":"allpeers"}'
{"error":"lb send error"}

jl777 4:21 AM
{"error":"lb send error"} indicates error, but you say you got a long response?
make verbose off
lemonhead 4:22 AM
in console it works
the ./BitcoinDarkd SuperNET ...... doesnt work
jl777 4:23 AM
you pulled recently?
lemonhead 4:23 AM

!ramchain unspents {"verbose":1,"coin":"BTCD","addr":"RM5NNYdGee6X65aFGkyaRkYocSxQVNsB8d"}
[!ramchain unspents {"verbose":1,"coin":"BTCD","addr":"RM5NNYdGee6X65aFGkyaRkYocSxQVNsB8d"}]
expands to: broadcast [ramchain unspents {"verbose":1,"coin":"BTCD","addr":"RM5NNYdGee6X65aFGkyaRkYocSxQVNsB8d"}] ramchain
RECV.NN_RESPONDENT ({"verbose":1,"coin":"BTCD","addr":"RM5NNYdGee6X65aFGkyaRkYocSxQVNsB8d","tag":"7749363893351949254","plugin":"ramchain","method":"unspents","NXT":"14939202522095242223","tag":"7222815480849057907"})
PLUGINMETHOD.(unspents) for (ramchain) bundled.1 ready.0 allowremote.0 localaccess.0
readyflag.0
(ramchain unspents {"verbose":1,"coin":"BTCD","addr":"RM5NNYdGee6X65aFGkyaRkYocSxQVNsB8d"}) -> ({"verbose":1,"coin":"BTCD","addr":"RM5NNYdGee6X65aFGkyaRkYocSxQVNsB8d","tag":"7749

yes im on the commit you suggested above
jl777 4:25 AM
which one was that, i fixed a bug via btcd in commit https://github.com/jl777/btcd/commit/a8c5809efee830102b9d5371b6b63bbbdb8de173
about 10 commits ago the latest seems stable
lemonhead 4:25 AM
a8c5809efee830102b9d5371b6b63bbbdb8de173
jl777 4:25 AM
https://github.com/jl777/btcd/commit/b24d663b181c95c53dffbe2f512220c4f1c8bf69
maybe still some problems, well if SuperNET direct works, you can test using that mode for now
only the addresses with hundreds of tx seem to be off and I am not sure if it is the blockexplorer or ramchains with the problem...
lemonhead 4:31 AM

ramchain create {"coin":"BTCD"}]
expands to:  [ramchain create {"coin":"BTCD"}] ramchain
PLUGINMETHOD.(create) for (ramchain) bundled.1 ready.0 allowremote.0 localaccess.1
readyflag.0
(ramchain create {"coin":"BTCD"}) -> ({"coin":"BTCD","tag":"7222815480849057907","plugin":"ramchain","method":"create"}) -> ({"error":"plugin not ready"})

jl777 4:32 AM
something is very strange, it autoinitialized BTCD coin
lemonhead 4:32 AM
ok working now
forgot the !

!ramchain create {"coin":"BTCD"}]
expands to: broadcast [ramchain create {"coin":"BTCD"}] ramchain
RECV.NN_RESPONDENT ({"coin":"BTCD","tag":"8408462745175416063","plugin":"ramchain","method":"create","NXT":"14939202522095242223","tag":"3091884191388096748"})
PLUGINMETHOD.(create) for (ramchain) bundled.1 ready.0 allowremote.0 localaccess.0
readyflag.0
(ramchain create {"coin":"BTCD"}) -> ({"coin":"BTCD","tag":"8408462745175416063","plugin":"ramchain","method":"create","broadcast":"allpeers"}) -> ({"success":0,"err responses":16,"total":16})

jl777 4:33 AM
well you cant remotely spawn ramchains!
register_daemon READY.(coins) >>>>>>>>>>>>>> READY.(coins)
lemonhead 4:33 AM
ah :simple_smile:
jl777 4:33 AM
do you have that during startup
my guess is you dont have SuperNET.conf, or the "userdir" is not set right
lemonhead 4:34 AM
is it searching for /home/lemon/btcd?
because mine is /home/lemon/btcd/btcd
jl777 4:35 AM
the psychic detection of strange subdirs is a bit buggy
lemonhead 4:35 AM
= )
jl777 4:35 AM
for nonstandard strange and weird subdirs you need a coins array
blackyblack 4:37 AM
what is this bounty for java plugin port?
do you need java client library?
jl777 4:38 AM
"coins":[{"coin":"BTCD","path":"btcd/btcd"}]
blackyblack 4:38 AM
websockets connectivity?
jl777 4:38 AM
set_coinconfname(fname,coinstr,userhome,coindir,confname);
   printf("set_coinconfname.(%s)\n",fname);
needs to use nanomsg
which handles all the comms
I think JNI
but maybe it is fine to just let java be java and as long as it talks the nanomsg locally, it actually doesnt matter
blackyblack 4:39 AM
there is nanomsg wrapper for java
what next?
jl777 4:39 AM
(any application written in any language) <- nanomsg -> SuperNET
port plugin777.c into java
that implements the client side of the protocol
blackyblack 4:40 AM
so something like client lib?
jl777 4:40 AM
it will use the ipc:// endpoints
need to have a reference plugin777.c equivalent and a few demo plugins, like echodemo.c
so yes a client lib to allow for minimal work to make a new plugin
the plugin itself should just deal with getting JSON, returning JSON
blackyblack 4:41 AM
ok. can I use some public supernet node?
do you have any available?
jl777 4:41 AM
pm me your ssh key I will get you access to one
dm me here
blackyblack 4:42 AM
ain't open websocket enough?
to make this kind of work
jl777 4:42 AM
maybe
then just run the current btcd or the SuperNET as standalone
you will know it works if your plugin is able to be loaded by SuperNET via the "install" method
blackyblack 4:43 AM
I don't want to build the supernet to connect my java plugin to it
I want to use existing node
you think I need local connection?
jl777 4:44 AM
there is inproc:// and ipc:// and tcp:// and ws:// as the nanomsg endpoints
blackyblack 4:44 AM
I will use ws for tests
jl777 4:44 AM
inproc is only for inprocess threads and ipc is for interprocess
plugins are local
inproc for built in and ipc for dynamically loaded processes
blackyblack 4:45 AM
"plugins are local" this is what I asked
jl777 4:45 AM
you could do nn_loadbalanced requests to the relays, but that is not a plugin, that is a remote client
blackyblack 4:45 AM
ok I need my own supernet build
jl777 4:45 AM
for this bounty, yes
local plugins can be remotely queried
blackyblack 4:46 AM
somebody is working on it already?
jl777 4:46 AM
but not remotely loaded on your node
nobody has asked to do the java yet
I pushed to libjl777 repo semi-stable versions. the btcd repo undergoes rather rapid commits as I am using it for dev testing
it is a simpler environment to test with SuperNET standalone. just clone, make onetime and make SuperNET, all uncommon dependencies are included directly in the source tree
blackyblack 4:49 AM
so I should use libjl777?
jl777 4:49 AM
yes, right now they are in sync, but I will make that the "stable" repo for the time being with the "btcd" being the experimental
actually btcd repo is up to 3187 commits vs only 2716 for the jl777/libjl777 repo, which used to be the experimental repo and had double the commits of the btcd
blackyblack 4:51 AM
initial setup guide somewhere?
jl777 4:51 AM
git clone https://github.com/jl777/libjl777; cd btcd/libjl777; make onetime; make SuperNET; ./SuperNET
make a SuperNET.conf:
{
   "userdir":"/home/username",
   "secret":"randvals","myipaddr":"111.22.33.44"
}
blackyblack 4:52 AM
config?
thanks
jl777 4:53 AM
you can put a passphrase for "secret", but randvals generates high entropy files and constructs a passphrase from it
there are a lot more config options, but that is the minimum need to get started
blackyblack 4:53 AM
ip must be valid?
jl777 4:54 AM
not to test local plugins
blackyblack 4:54 AM
32bit os supported?
lemonhead 4:54 AM
:smile:
thanks to me
= D
jl777 4:54 AM
you might even be able to submit nn_loadbalanced requests without ip, but direct connections wont work
we support 16bit and even 8 bit OS
lemonhead 4:55 AM
:squirrel:
blackyblack 4:55 AM
ok I will use dos
jl777 4:55 AM
ok, I lied we dont support 8 bit OS, but we do support the 16bit OS known as Windows
and it has DOS inside it, so virtually speaking...
blackyblack 4:56 AM
I'd love having prebuilt supernet for windows
you know it is one step to start working
jl777 4:56 AM
then get the InstantDEX installer package from the instantdex channel
blackyblack 4:56 AM
instead of pull, make, wtf
jl777 4:57 AM
I am not familiar with the wft command
lemonhead 4:57 AM
ftw
blackyblack 4:57 AM
man wtf
lemonhead 4:57 AM
:smile:
man!
sudo man wtf
jl777 4:57 AM
not sure the status of windows installer
blackyblack 4:58 AM
checking right away
jl777 4:58 AM
but I saw some older version inside an installer
it only takes a few minutes to get it working on  real OS
blackyblack 4:59 AM
my real OS is on the virtual box :simple_smile:
so not so real if you think about it
lemonhead 4:59 AM
= )
OS inception
jl777 4:59 AM
I lied, it cloned, built and ran in less than a minute
lemonhead 5:00 AM
which command you want me to run @jl777 i think its working now....
blackyblack 5:06 AM
nope installer comes with 64bit version
jl777 5:06 AM
@lemonhead: "unspent"
lemonhead 5:16 AM
this good or bad?
cassius 5:17 AM
Looks like some great stuff is going on :simple_smile:
Quick update/clarification on the MMBTCD asset discussion yesterday: https://nxtforum.org/assets-board/btcd-mutual-fund-and-market-making-asset-mmbtcd/msg179731/#msg179731
Should be a good start for dividends for next Wednesday. Big thanks to coinomat for getting things moving :simple_smile:
BTCD mutual fund and market-making asset, MMBTCD
@channel ^^^
jl777 5:19 AM
i put the following in a file so I could time it
git clone https://github.com/jl777/libjl777; cd libjl777; make onetime; make SuperNET;
real    1m20.657s
user    0m55.279s
sys    0m9.825s
so from starting a fresh clone to finished SuperNET build in less than 81 seconds
blackyblack 5:20 AM
unless you don't have clang
libnanomsg
and stuff
jl777 5:20 AM
just do make dependencies
you dont need libnanomsg, it is included in my tree
blackyblack 5:21 AM
lol
jl777 5:21 AM
also, who doesnt have clang installed?
thats just weird
blackyblack 5:22 AM
you should pin an instruction :simple_smile:
jl777 5:24 AM
set the channel topic: git clone https://github.com/jl777/libjl777; cd libjl777; make onetime; make btcd; ./BitcoinDarkd
jl777 5:24 AM
set the channel topic: git clone https://github.com/jl777/btcd; cd libjl777; make onetime; make btcd; ./BitcoinDarkd
lemonhead 5:25 AM
= D
blackyblack 5:25 AM
forgot dependencies
jl777 5:28 AM
set the channel topic: git clone https://github.com/jl777/btcd; cd btcd/libjl777; make onetime; make btcd; echo "{\"secret\":\"randvals\",\"userdir\":\"$HOME\"}" > SuperNET.conf; ./BitcoinDarkd
jl777 5:28 AM
yes but I autocreate SuperNET.conf now
jl777 5:28 AM
set the channel topic: git clone https://github.com/jl777/btcd; cd btcd/libjl777; make dependencies; make onetime; make btcd; echo "{\"secret\":\"randvals\",\"userdir\":\"$HOME\"}" > SuperNET.conf; ./BitcoinDarkd
jl777 5:29 AM
there one liner to make a fresh BTCD with default SuperNET.conf
this one takes a lot longer than 81 seconds though
jl777 5:45 AM
real    10m1.967s
user    7m38.012s
sys    0m39.539s
took a bit more than 10 minutes to run the channel topic, which is a one line unix command that from scratch gets experimental BitcoinDarkd cloned, built and even with a default SuperNET.conf file
i had all the dependencies already installed though so on a fresh system might take upwards of 30 minutes
crackers 6:50 AM
command idnd't work for me...
tector-all -Wstack-protector -D_FORTIFY_SOURCE=2   -c -o SuperNET.o SuperNET.c
In file included from SuperNET.c:579:
In file included from plugins/utils/utils777.c:17:
In file included from plugins/utils/bits777.c:16:
plugins/utils/system777.c:195:7: error: conflicting types for 'aligned_alloc'
void *aligned_alloc(uint64_t allocsize);
     ^
/usr/include/stdlib.h:509:14: note: previous declaration is here
extern void *aligned_alloc (size_t __alignment, size_t __size)
            ^
1 error generated.
: recipe for target 'SuperNET.o' failed
make: *** [SuperNET.o] Error 1
hrm
jl777 6:50 AM
did you do a fresh clone?
crackers 6:51 AM
not fresh no...
lemme give that a whirl
jl777 6:52 AM
no need!
I am pushing a fix
crackers 6:52 AM
k
crackers 8:20 AM
testing on a fresh deployments
crackers 9:05 AM
bleh, connecetion to github is... horrilbe
Receiving objects:  91% (18750/20566), 154.29 MiB | 64.00 KiB/s                                                                                                           │·········································································
jl777 9:06 AM
maybe I should reset the repo, the total size is nowhere as big but with 3000 commits...
lemonhead 9:14 AM
cant you make a branch?
hmm doesnt solve the 3000 commits does it :simple_smile:
jl777 9:15 AM
I dont know how to do fancy git stuff
I am just a simple C programmer
lemonhead 9:15 AM
= )
do you say that when you meet girls as well...
jl777 9:16 AM
yes, it works quite well
lemonhead 9:16 AM
first thing i would say
jl777 9:16 AM
kind of like saying "I know ancient greek well enough to write it"
dee 9:37 AM joined #btcd
legendary
Activity: 1526
Merit: 1002
Bulletproof VPS/VPN/Email @ BadAss.Sx
May 21, 2015, 06:16:30 AM
That looks promising...keep up the good work
sr. member
Activity: 448
Merit: 250
May 21, 2015, 03:35:47 AM
Thanks for the update Cheesy
sr. member
Activity: 441
Merit: 500
May 20, 2015, 10:56:55 PM
James (jl777) BitcoinDark Development Update (cross-post):

I pushed a test release
it supports sending commands to the decentralized load balancer
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"ledgerhash","coin":"BTCD","broadcast":"allpeers"}'
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"addrind","coin":"BTCD","broadcast":"allpeers","addr":"RM5NNYdGee6X65aFGkyaRkYocSxQVNsB8d"}'
the calling method is different
if you leave off the "broadcast":"allpeers", it just queries the local node
but what this means that even if you have no local ramchain, you can get ramchain info from all the nodes that do
{
   "userdir":"/home/username",
   "secret":"randvals","myipaddr":"youripaddr"
}
I simplified the SuperNET.conf a bit
the minimum SuperNET.conf file is above
using "secret":"randvals" generates randvals files and these contain your key, so keep them safe!
you can also just directly put the passphrase instead of "randvals"
i have other options for passphrase management, but for now, lets keep that part simple
after cloning a fresh copy from my repo (it is used for tests though so make sure to checkout a stable copy)
https://github.com/jl777/btcd/commit/a8c5809efee830102b9d5371b6b63bbbdb8de173 appears to be stable
cd into the libjl777 directory and do:
make onetime
make SuperNET; make btcd
There are very few dependencies for SuperNET: make clang-3.5 autoconf  libtool libcurl4-gnutls-dev unzip autogen
so apt-get install those if you dont have them
to bootstrap a system from scratch for full btcd build just do:
make dependencies
then if the make of btcd or SuperNET failed, it should work. make a SuperNET.conf with the three required fields in the libjl777 directory
now you can launch ./BitcoinDarkd
current methods (changing all the time) for ramchain plugin is:
#define PUB_METHODS "ledgerhash", "richlist", "txid", "txidind", "addr", "addrind", "script", "scriptind", "balance", "unspents", "notify"
char *PLUGNAME(_methods)[] = { PUB_METHODS, "create", "backup", "pause", "resume", "stop" }; // list of supported methods
mostly self explanatory. to create a ramchain:
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"create","coin":"BTCD"}'
to pause it:
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"pause","coin":"BTCD"}'
you can generate to a specific block by setting "end":350000
./BitcoinDarkd SuperNET '{"plugin":"ramchain","method":"richlist","coin":"BTCD"}'
returns:
return.({"supply":1218020.71387317,"richlist":[["RBF9tS45eKBab2L4ZYdQEzMVnp5vtHUuqC", "40000.00000000"], ["RGgbJiV2Hs8eWJbZmZ3hZLS8sSzFA7tYNu", "38773.29296875"], ["RA7FDvaNFXZNLqosSbCWFbypuvijJNQw5J", "37702.49609375"], ["RQ5zLFGwZGhTKbANAbCHaAP1ghZWnv6wKE", "32116.67578125"], ["RT9obeyoapYL1kzZdrBKTtJvasTJoDTiwA", "28311.67968750"], ["RMo9emPiNDd1kvn9jpDBEvLavPxb9rdyNk", "18650.31250000"], ["R9pEPKTktBGmG9ggi2TGn4USjVXPzQ5Tm1", "18210.96679688"], ["RMtkykzKuKiP4PNjgqKH6FrcSJm4Y6eA8n", "17148.80859375"], ["RWcg6XBmisrbkMYvzV9u7j1HvgMg4LuUYC", "16779.16796875"], ["RWAxa88tQXVDY64Bwz6DP2ZppsFotibaYh", "15620.54687500"], ["RQif3cnnrWjP2zzrhum24FjgwS4wBzBfts", "15618.84863281"], ["RJ94yrqKCP3XjFsAsNj9WXS5SLpyHUpx5n", "15617.99511719"], ["RBCLnsjCVHWRyUpfgauyzUu8iP6X5CabJT", "15587.90722656"], ["RGaV5Qxi2PdtMpe8GR9MpQ9JogDz5oaZbK", "15147.80078125"], ["RJPGpRQ4nudwzw6mjWCUb6cq7aWP4to6pM", "14820.11523438"], ["RDnHMnK8tgm9WmY9u3EoRLww9FyFBannCa", "14590.96875000"], ["RWc6VDt5SdjnWXoVQ2AJsuxU2QSaDcG5R7", "14576.76953125"], ["RWUTuApNQuuSustN4DBt6PxxVRwZhh52An", "14405.32910156"], ["R9g77ds8kFS58V24s9Wodt8quMB8NSp3FC", "13069.25292969"], ["RXcEPd6zV1hHAVZzfe2d8Ccv3MzHMZEZ49", "12795.74023438"], ["RUZ9AKxy6J2okcBd1PZm4YH6atmPwqV4bo", "12693.13964844"], ["RDvdbqJLu8GgLL1TvdADNeCbbjXRmHBjog", "11563.78906250"], ["RR1svWTDxD6bjtkXDzq4vhB6PWPETPNU42", "11430.56445312"], ["RYNE2isKrRu5b7xxm1DtXcLxdmBEKatuJY", "11337.11425781"], ["RV5eKvybKDNctYxXiNYV766PzCakiUNRRm", "11308.52539062"],]})
it has extra comma so doesnt parse, so there are still bugs, but I dont have the time to find all the bugs myself
or if I have to, it necessarily delays the completion.
I am not so worried about exact completion date, but if you are then you can help by testing
if you can construct JSON command lines like above, you can test!
if you can make an HTML front end to make it easy for others to test, then there will be a bounty for that
I think the wallet should have a debug mode where you can issue such API calls
notice that with "broadcastflag":"allpeers" the request is sent to the relays, which then randomly selects one of them to act as a coordinator for that request
it then relays your request to all the peers and the ones that are able to (or want to) respond will send the result back to the coordinator
who then collates it into a single request and sends it back to your node
it flows back through and appears magically on the command line
so with a single BitcoinDarkd RPC call you trigger an entire chain of events, which just happens to make establishing a peer based consensus much easier as you now have data from all the peers to compare
*****
for people that dont care much about making API calls to ramchains (I know there are people such as this), there is a reason for you to care about all this
ramchains is implemented as a plugin and it is publishing which methods it can execute locally or for public access
replace "ramchains" with "anything"
and then all nodes can access via relays all the nodes that are supporting the "anything" plugin
and the plugin can literally be for anything!
SuperNET itself is implemented as a plugin that connects into BTCD
then all the other plugins connect to SuperNET
you can publish methods that require authentication, but I am still working out the details on this, so there will be at least three levels of methods, for each plugin
by setting "iamrelay":1 to your SuperNET.conf, it tells the other relays that you are a relay too, and so this makes it fully decentralized
I have not beefed up the security or privacy yet, so just for testing now
in addition to having public methods accessible via the decentralized load balancer, you can also offer subscriptions to a data stream
this can be things like notifications of any changes to an address (or set of addresses)
or anything that can be turned into data
which is quite a few things
I havent implemented a billing/accounting system yet, but I dont see any big hurdles for that. current ideas are for publishers to set prices and subscribers to pay for them, with the system managing the payment process. maybe I will setup auction pages within InstantDEX, not sure the details
currently there are the following plugins: SuperNET, echodemo, coins, relay, peers, ramchain, db777, subscriptions, MGW in various stages of completeness
the SuperNET plugin has just a couple of methods, "install" and "plugin"
"install" installs a new plugin (which can theoretically be in any of a dozen languages) that is a standalone program
and "plugin", which just routes a request to the named plugin
"echodemo" demonstrates a minimal plugin in echodemo.c (85 lines of C) with "echo" method, that echos what is sent to it
"coins" interfaces to coin daemons, any gen1 coin is supported and if it is added to the source code you dont even have to configure it in SuperNET.conf, but if it isnt, you can add support for it via the "coins":[:"name":"COIN",...} array
to add support for a new coin:
char *coindirs[][3] = { {"BTC",".bitcoin"}, {"BTCD",".BitcoinDark"}, {"LTC",".litecoin"}, {"VRC",".vericoin"}, {"VPN",".vpncoin"} };
just one little array needs to be added to and this means via the coins array you can communicate to any other coin daemon, but I have not had a chance to add many methods to the coins plugin as I am concentrating on MGW support
you know about ramchain's current methods
db777 is the database engine based on sophia http://sphia.org/v12.html
relays deals with the decentralized load balancer and it automatically reconfigures the network topology as more relays are added. it also supports direct connections so you can connect directly to a specific relay
char *PLUGNAME(_methods)[] = { "list", "add", "direct", "join", "busdata", "devMGW" }; // list of supported methods for relay
it seems the peers plugin deals with the "direct" connection: char *PLUGNAME(_methods)[] = { "direct", "devMGW" };
I am about to debug that next
subscriptions plugin will manage subscriptions (including payments), but this is for a bit later
after MGW plugin is completed I will make an InstantDEX plugin
It confuses me greatly that many people are complaining about lack of progress...
how many of them have created a decentralized system for adding new services? actually has anybody else created anything like this?
somebody please make a copy of all this so it is not lost, thanks
hero member
Activity: 882
Merit: 1000
May 19, 2015, 12:21:08 PM
In this weeks BitcoinDark Bulletin:Tradebots 101
http://bitcoindark.pw/tradebots-101/

One bot operated on several exchanges for many months, and served to push down the price of BitcoinDark by placing lots of little orders in front of asks placed by real sellers. This crowded out the order book and led to loss of confidence, prompting holders to sell on that exchange and enabling profitable arbitrage with another. Although the bear market lasted many months, this bot had a serious and pronounced effect on BitcoinDark’s price, from which it is only just starting to recover.

I knew it!!! The Decepticons. Prob the work of this guy.



The TradeBot war has begun.
tyz
legendary
Activity: 3360
Merit: 1533
May 19, 2015, 10:19:36 AM
Just wondering if the InstantDex exchange is already live? Last time I heard about news was some time ago.
newbie
Activity: 41
Merit: 0
May 19, 2015, 09:51:18 AM
In this weeks BitcoinDark Bulletin:Tradebots 101
http://bitcoindark.pw/tradebots-101/
https://i.imgur.com/iEoGlb9.jpg
newbie
Activity: 41
Merit: 0
May 19, 2015, 09:42:14 AM
Been offline for a few days, here is an update on donations received, thanks again.

Date: 16/05/2015 17:45
From: unknown
To: RDtnnLj5LQ8YMxBJbHX1N4jNKeaC67FLGW (own address, label: DEV Donations)
Credit: 6.50 BTCD
Net amount: +6.50 BTCD
Transaction ID: 4d7c67da6ca08e89dafdc57a80ab837ca023788e02489034cf6132f549b80626

Date: 17/05/2015 22:45
From: unknown
To: RDtnnLj5LQ8YMxBJbHX1N4jNKeaC67FLGW (own address, label: DEV Donations)
Credit: 50.00 BTCD
Net amount: +50.00 BTCD
Transaction ID: 9cc65e6669f5a32390c6a17a06ae7eea213c6a4c7b535e87c776e5fcf02b808c

Date: 18/05/2015 11:04
From: unknown
To: RDtnnLj5LQ8YMxBJbHX1N4jNKeaC67FLGW (own address, label: DEV Donations)
Credit: 1.00 BTCD
Net amount: +1.00 BTCD
Transaction ID: 20a22e983cd2bd1295d8236f4a8bdadcd60c83e5464796574b85ca265313b41c

BTCD donation total: 2595.218

BTC donation total: 1.052051

Please help support BitcoinDark development by sending your donations to the following Official BTCD Donation Address:
RDtnnLj5LQ8YMxBJbHX1N4jNKeaC67FLGW

or you can donate using BTC using the Official Multisig Donation Address:
36vQrrrjT1A8X3s56fdfkYzWzMgjSWhTWY
sr. member
Activity: 441
Merit: 500
May 18, 2015, 11:19:26 PM
BitcoinDark Slack Log (5/16-5/18)

cassius - cassius (sprnt)BOT 7:45 AM
@channel update on the MM-BTCD asset, 8122396658538927693: https://nxtforum.org/cryptoasset-fund-projects/btcd-market-maker-asset/msg179174/#msg179174
"Market making bot and buy walls will be set on NXT AE, Poloniex, and Bittrex. We plan to provide constant buy pressure, on top of usual market making, which should help the price grow. So the purpose of the fund is twofold - bots are making profits through MM and at the same time gently push the price higher. So you profit both from dividends and BTCD appreciation if you're a BTCD holder. To kick start dividend payments it is possible to hold some dividend paying asset, such as MMNXT. It will be decided on after the IPO phase is over. Also I'd like to note that no further assets will be sold until the asset price doubles, outstanding shares will be sent to an escrow after IPO phase is over. "
Currently 40% of assets sold. This asset pays out exclusively in mgwBTCD / superBTCD.
BTCD market-maker asset
3rdstryker - brad aaaaaaaaaaa (sprnt)BOT 7:47 AM
so dividends wont be this wednesday?
cassius - cassius (sprnt)BOT 7:48 AM
No, I think it's best to wait for the ICO to sell out - otherwise we will have a greater proportion of assets
3rdstryker - brad aaaaaaaaaaa (sprnt)BOT 7:48 AM
are the bots running now?
cassius - cassius (sprnt)BOT 7:48 AM
But that's an unrelated point
Yes
Coinomat is plugging in Polo now (might already be running ) and coding the Trex bot
But we're looking at purchasing some revenue-generating assets to inject some liquidity into the BTCD market, so we've got more to work with
Liquidity is low, so there's a limited amount you can do with what's there.
If we use some funds to purchase an asset like MMNXT (or something else that pays out regular dividends), they can be used to convert to BTCD.
3rdstryker - brad aaaaaaaaaaa (sprnt)BOT 7:50 AM
ahh yep understood
cassius - cassius (sprnt)BOT 7:50 AM
Those will be paid out, some people will hold, some sell, but what we need is churn
The more activity on exchanges the better, as well as buy support. Hopefully this will do both. I guess it's a little bit like the mining assets, where LTC is mined and converted to NXT, except in this case 1) the revenue stream is converted to BTCD and 2) coinomat doesn't disappear and become a target for the Russian mafia.
I think it makes sense to do this to bring up volumes for the bot to work with, and I can't see a downside.
MMNXT and LIQUID are both pretty low-risk assets, for example
3rdstryker - brad aaaaaaaaaaa (sprnt)BOT 7:53 AM
it sounds good to me for far from first thoughts
jahl (sprnt)BOT 7:53 AM
i wouldn't mine ltc tho
cassius - cassius (sprnt)BOT 7:53 AM
No, we won't!
That's not what I meant. It was just an analogy.
jahl (sprnt)BOT 7:53 AM
diff too high :simple_smile:
ah ok
cassius - cassius (sprnt)BOT 7:53 AM
Revenue stream converted to currency of choice was the point. There will be no LTC mining, I think NXT has seen enough of that :disappointed:
I want low-risk dividend paying assets. The market-maker bots are a good example. There are probably a few others but I'll keep quiet about the ones I've got in mind for now.
3rdstryker - brad aaaaaaaaaaa (sprnt)BOT 7:57 AM
sounds good :simple_smile:
cassius - cassius (sprnt)BOT 7:57 AM
I'm trying hard to see a downside.
kripto (sprnt)BOT 9:50 AM
Hi guys. What's the relation between mgwBTCD and superBTCD? Am I good holding mgwBTCD?
cassius - cassius (sprnt)BOT 9:51 AM
They're broadly interchangeable at the moment. You should redeem mgwBTCD for superBTCD soon, though.
superBTCD is the production server version. At some point mgwBTCD will have less support.
kripto (sprnt)BOT 10:17 AM
@cassius Sorry for my lack of understanding but how do I redeem mgwBTCD for superBTCD?
cassius - cassius (sprnt)BOT 10:34 AM
https://nxtforum.org/nxtservices-releases/multigateway-user-support-thread/msg168813/#msg168813
Multigateway User Support Thread
Took less than a day to get mine back
No great hurry, but worth doing at some point.
bizz (sprnt)BOT 12:47 PM
superbtcd just works, transferred several times it's really fast with supernet lite client
jahl (sprnt)BOT 1:21 PM
some large buys today on the asset :simple_smile:
cassius - cassius (sprnt)BOT 1:35 PM
Yes. Two-thirds gone now.
Looks like reasonable distribution. Someone has 2%, looks like the largest
jahl (sprnt)BOT 1:38 PM
4%
NXT-3NTG-FJPG-FFRY-FSZH4
maybe twin
kitchentable (sprnt)BOT 1:39 PM
Looks like one of his accounts. Or at least it trades like one.
jahl (sprnt)BOT 1:39 PM
has a few simular assets aswel
cassius - cassius (sprnt)BOT 1:59 PM
Yes, I thought twin had jumped in there :simple_smile:
I imagine he'll sell a good few if the price moves up a little
jahl (sprnt)BOT 2:00 PM
yep
neal - nea wanna (sprnt)BOT 3:25 PM
Anyone know if Polo don'
I tried to withdraw about 1 BTCD yesterday and it still says "COMPLETE ERROR".
Tried tesing it out again tonight with a 2 BTCD witdrawal and it says "COMPLETE ERROR" for that one too :confused:
Was gonna buy a bunch tomorrow but I think I'll give Polo a miss because of this shit. Anyone else experienced this? They haven'
marcm9000 (sprnt)BOT 4:03 PM
use Coinomat it's fast and easy.
neal - nea wanna (sprnt)BOT 4:14 PM
Yup. I was thinking Bittrex, but I like coinomat.
bizz (sprnt)BOT 4:24 PM
bittrex is fine I also had issue with Polo but after mailing  they fixed it & sent
neal - nea wanna (sprnt)BOT 4:29 PM
I've opened a ticket with Polo. I'm not bothered about the ~3 BTCD just curious what's wrong with my withdrawals.
jahl (sprnt)BOT 4:30 PM
every btcd counts damnit
:stuck_out_tongue:
kripto (sprnt)BOT 5:20 PM
@cassius: thx
js.galt (sprnt)BOT 11:49 PM
I seem to have missed the memo on MMBTCD, could someone give me the pitch?
damon - damon (sprnt)BOT 11:52 PM
@js.galt: if you go up to the 5:45 am post - it might tell you what you want
js.galt (sprnt)BOT 12:09 AM
Oh I get it. https://nxtforum.org/cryptoasset-fund-projects/btcd-market-maker-asset/msg179174/#msg179174
BTCD market-maker asset
js.galt (sprnt)BOT 12:18 AM
How do I run the Supernet Lite wallet?
oh! got it
coool!
cassius - cassius (sprnt)BOT 9:43 AM
Update on the MMBTCD asset: https://nxtforum.org/assets-board/btcd-mutual-fund-and-market-making-asset-mmbtcd/
BTCD mutual fund and market-making asset, MMBTCD
@channel https://nxtforum.org/assets-board/btcd-mutual-fund-and-market-making-asset-mmbtcd/
jahl (sprnt)BOT 10:53 AM
holy shite, all sold out :smile:
cassius - cassius (sprnt)BOT 10:54 AM
Someone decided they liked the idea and snaffled the last chunk
jahl (sprnt)BOT 10:55 AM
i'm glad the ICO was a success
didn't took long :simple_smile:
cassius - cassius (sprnt)BOT 11:00 AM
3 days
Now we need to build some revenues
cryptosleuth (sprnt)BOT 11:39 AM
omfg lambchains
nippybrit - Nippy Brit (sprnt)BOT 11:40 AM
photoshop content-aware fill is god
first time I tried it
jahl (sprnt)BOT 11:40 AM
yea lol, nice feature :simple_smile:
neal - nea wanna (sprnt)BOT 11:43 AM
Haha! You coined it, @nippybrit. Along with ramchains now comes lambchains. I hope the SN devs have sufficient sense of humour to refer to it as lambchains. :simple_smile:
nippybrit - Nippy Brit (sprnt)BOT 11:43 AM
thanks :stuck_out_tongue:
I think L must stand for something or other, though
neal - nea wanna (sprnt)BOT 11:45 AM
Yeah, I'd like to see @jl777 refer to it as lambchains now, though. :simple_smile:
jahl (sprnt)BOT 11:46 AM
damnit, i hate when everything downloads smoothly and then when you hit 98%, it goes to 1.5kb/s :confused:
nippybrit - Nippy Brit (sprnt)BOT 11:48 AM
sounds like torrents
lemonhead - lemon . (sprnt)BOT 11:55 AM
:smile:
jl777 - james lee (sprnt)BOT 12:49 PM
"L" is for ledger
blackyblack - Andrew . (sprnt)BOT 12:49 PM
and V?
jahl (sprnt)BOT 1:02 PM
he's alive ! :smile:
jl777 - james lee (sprnt)BOT 1:03 PM
just pushed a stable release that is generating Lchains on 10 different servers
that is the hardest part for MGW
now i just have to port the existing code to use the Lchain, but most of the code isnt needed anymore since Lchain does most everything that is needed
jahl (sprnt)BOT 1:09 PM
always good to hear progress ! :smile:
jl777 - james lee (sprnt)BOT 1:09 PM
if you are following my github, you will see the progress everyday
i am getting more and more functionality with less and less code
this is what happens toward the end
blackyblack - Andrew . (sprnt)BOT 1:11 PM
in the end you will have no code at all
jl777 - james lee (sprnt)BOT 1:11 PM
now I can build on the Lchain and load balancer and plugins for everything else, so all this time spent wasnt just for ramchains/MGW
they are just specific use cases for the plugin architecture
I have it now so each plugin has three sets of methods: public, normal, authenticated
blackyblack - Andrew . (sprnt)BOT 1:12 PM
is the backbone complete?
jl777 - james lee (sprnt)BOT 1:12 PM
so you can have methods that can be accessed by anyone, or just on local machine, or needing authentication
backbone is working, but I am not satisfied with it yet
blackyblack - Andrew . (sprnt)BOT 1:13 PM
sound good
but better stop at some point and deliver
jl777 - james lee (sprnt)BOT 1:13 PM
it can load balance, broadcast, setup direct connections
i am only putting in the features that are needed to support MGW + InstantDEX
well
blackyblack - Andrew . (sprnt)BOT 1:13 PM
I see
jl777 - james lee (sprnt)BOT 1:13 PM
I guess I am generalizing it a bit more
blackyblack - Andrew . (sprnt)BOT 1:14 PM
plugins and connectivity is enough
jl777 - james lee (sprnt)BOT 1:14 PM
i expect each new type of plugin will require a few changes for a while, eg. pangea, but i dont expect to have to do anything major
i need to add some basic IP shielding
i have the direct connect, where you can specify a plugin to handle the comms via that channel
but still not a clean way to connect that out to the main SuperNET
I think a basic proxy service would do the trick
now this is weak privacy, as if the relay node is compromised, your traffic can be found, but as you say better to release things at current level
i will add the much more robust privacy features via privacy plugins that create dark channels
blackyblack - Andrew . (sprnt)BOT 1:17 PM
definitely
why use proxy? for relays?
jl777 - james lee (sprnt)BOT 1:17 PM
node <-> relay <-> other nodes
but the relay is randomly chosen for each request
node <-> proxy <-> relay <-> other nodes
now you are in contact with just one proxy node (which is most likely one of the relays, or even a relay that you are running)
and the less nodes you are in direct contact with, the less nodes you are in contact with directly
less is more privacy
blackyblack - Andrew . (sprnt)BOT 1:19 PM
ok you can just drop it for a while
jl777 - james lee (sprnt)BOT 1:19 PM
fumble?
blackyblack - Andrew . (sprnt)BOT 1:19 PM
proxy stuff
add them later
jl777 - james lee (sprnt)BOT 1:20 PM
probably, but i might be able to do it relatively quickly. i need something for MGW
i think I can just designate a direct connection to be forwarded to the other relays
so it is adding one hop to the existing protocol
blackyblack - Andrew . (sprnt)BOT 1:21 PM
ok. but maybe will be better to see at least one working plugin
jl777 - james lee (sprnt)BOT 1:21 PM
?
I have 12 working plugins now
blackyblack - Andrew . (sprnt)BOT 1:21 PM
current mgw is working as plugin?
jl777 - james lee (sprnt)BOT 1:21 PM
SuperNET itself is a plugin that other plugins plug into
i split out the major components into their own plugin
blackyblack - Andrew . (sprnt)BOT 1:22 PM
ok. so mgw is working on top of your backbone already?
jl777 - james lee (sprnt)BOT 1:22 PM
i released multisig address generation via relays last week
now I have realtime DB of unspents in RAM, dealing with the deposits will not take long
and the withdraw processing is pretty much the NXT code that is working for a long time
(ramchain ledgerhash {"coin":"BTCD"}) -> ({"coin":"BTCD","myipaddr":"181.233.198.91","tag":"72185797819121","plugin":"ramchain","method":"ledgerhash","broadcast":"allpeers"}) -> ({"responses":[{"result":"success","coin":"BTCD","latest":210299,"ledgerhashes":[[210000, "31658d90ad2bafc2f3319970bac703e89613a48ba40799b096a77c8678b64e04"], [210000, "31658d90ad2bafc2f3319970bac703e89613a48ba40799b096a77c8678b64e04"], [200000, "5fe4d677f84eb6e30110e1b88cc703b98dbb8ac696eba2794e83222b0e30ef9f"], [190000, "2d25bf25a8ef54f38b5baecbe7ee8ea1f54f953c31439e7f9b4b3dd4b48131d7"], [180000, "e413f32b6626aa38b1ef0853916d4bd85b6f1ea653016da653bbc43684b980e6"], [170000, "87ab84b41b4b655249bff7870131d82177bd00182c10dc0440a25abd6c213d31"], [160000, "a3df92ad9700473e2b8fbd9322a65f46b81ae21bc756ead8f8611da435375134"], [150000, "12320507b3c1636fd9cbd99b5512f88bf7eb676ffae08754ab7d6e69f98b4647"], [140000, "9d8f2407b1f3ead9a0c934c9642ccc5142e0d9cc2029aee4040791fc0a464ffb"], [130000, "81eb32da52fe84106385193ea2e85fc46148ce7f855dd91a85b0a713fe4b5ab1"], [120000, "de9b6088bb7a14ffaa987e977c40342ccdd52f059aa61f28a24a7997002949eb"], [110000, "ad6808ebeb7efab44718ce996ecfdec71b8d57d2f04342a130e4526e05ff4a57"], [100000, "b5a90a807e99130f162775010f129c4d3fad6a80995c7058b0ed3a94d40cd321"], [90000, "74976f0872dfaa4b0c7b71ebf39330aeec44dd169db7677cc9a04c0f9c6e2e82"], [80000, "7e914c4048568b65934bdaeef8c437da0f0ec1aa8fe3149a33f9f81e3e3516fb"], [70000, "c8b8d721e046780464d8d939a7fbf5e39306289a06d84e1f9ccfb0fb7b39a810"], [60000, "c007786d493d1c78a0d8648c6accce5032701a3257b430a2c6ab58dea77d7bae"], [50000, "eef8f7d6331c7355b15248b34610053400c11d5ba7216f780ae8ec4e72aede4d"], [40000, "e2e82ceba77f904150803732cf2cafa7a32baa9421c51180eeb6cd43423c4c8c"], [30000, "0f7338e245aff8fc04c75ed88a0a6dbfbd10ee099f58e17ab717c9c49ae8186c"], [20000, "7d76f895bc903b591667984b402bd5139bff507806d5ef1aea070212f310a65d"]],"NXT":"15382101741829220030","allowremote":1,"tag":"72185797819121","locallag":0}, {"result":"success","coin":"BTCD","latest":201224,"ledgerhashes":[[200000, "5fe4d677f84eb6e30110e1b88cc703b98dbb8ac696eba2794e83222b0e30ef9f"], [200000, "5fe4d677f84eb6e30110e1b88cc703b98dbb8ac696eba2794e83222b0e30ef9f"], [190000, "2d25bf25a8ef54f38b5baecbe7ee8ea1f54f953c31439e7f9b4b3dd4b48131d7"], [180000, "e413f32b6626aa38b1ef0853916d4bd85b6f1ea653016da653bbc43684b980e6"], [170000, "87ab84b41b4b655249bff7870131d82177bd00182c10dc0440a25abd6c213d31"], [160000, "a3df92ad9700473e2b8fbd9322a65f46b81ae21bc756ead8f8611da435375134"], [150000, "12320507b3c1636fd9cbd99b5512f88bf7eb676ffae08754ab7d6e69f98b4647"], [140000, "9d8f2407b1f3ead9a0c934c9642ccc5142e0d9cc2029aee4040791fc0a464ffb"], [130000, "81eb32da52fe84106385193ea2e85fc46148ce7f855dd91a85b0a713fe4b5ab1"], [120000, "de9b6088bb7a14ffaa987e977c40342ccdd52f059aa61f28a24a7997002949eb"], [110000, "ad6808ebeb7efab44718ce996ecfdec71b8d57d2f04342a130e4526e05ff4a57"], [100000, "b5a90a807e99130f162775010f129c4d3fad6a80995c7058b0ed3a94d40cd321"], [90000, "74976f0872dfaa4b0c7b71ebf39330aeec44dd169db7677cc9a04c0f9c6e2e82"], [80000,
"7e914c4048568b65934bdaeef8c437da0f0ec1aa8fe3149a33f9f81e3e3516fb"], [70000, "c8b8d721e046780464d8d939a7fbf5e39306289a06d84e1f9ccfb0fb7b39a810"], [60000, "c007786d493d1c78a0d8648c6accce5032701a3257b430a2c6ab58dea77d7bae"], [50000, "eef8f7d6331c7355b15248b34610053400c11d5ba7216f780ae8ec4e72aede4d"], [40000, "e2e82ceba77f904150803732cf2cafa7a32baa9421c51180eeb6cd43423c4c8c"], [30000, "0f7338e245aff8fc04c75ed88a0a6dbfbd10ee099f58e17ab717c9c49ae8186c"], [20000, "7d76f895bc903b591667984b402bd5139bff507806d5ef1aea070212f310a65d"]],"NXT":"16857339717008846076","allowremote":1,"tag":"72185797819121","lag":80}, {"result":"success","coin":"BTCD","latest":199665,"ledgerhashes":[[190000, "2d25bf25a8ef54f38b5baecbe7ee8ea1f54f953c31439e7f9b4b3dd4b48131d7"], [190000, "2d25bf25a8ef54f38b5baecbe7ee8ea1f54f953c31439e7f9b4b3dd4b48131d7"], [180000, "e413f32b6626aa38b1ef0853916d4bd85b6f1ea653016da653bbc43684b980e6"], [170000, "87ab84b41b4b655249bff7870131d82177bd00182c10dc0440a25abd6c213d31"], [160000, "a3df92ad9700473e2b8fbd9322a65f46b81ae21bc756ead8f8611da435375134"], [150000, "12320507b3c1636fd9cbd99b5512f88bf7eb676ffae08754ab7d6e69f98b4647"], [140000, "9d8f2407b1f3ead9a0c934c9642ccc5142e0d9cc2029aee4040791fc0a464ffb"], [130000, "81eb32da52fe84106385193ea2e85fc46148ce7f855dd91a85b0a713fe4b5ab1"], [120000, "de9b6088bb7a14ffaa987e977c40342ccdd52f059aa61f28a24a7997002949eb"], [110000, "ad6808ebeb7efab44718ce996ecfdec71b8d57d2f04342a130e4526e05ff4a57"], [100000, "b5a90a807e99130f162775010f129c4d3fad6a80995c7058b0ed3a94d40cd321"], [90000, "74976f0872dfaa4b0c7b71ebf39330aeec44dd169db7677cc9a04c0f9c6e2e82"], [80000, "7e914c4048568b65934bdaeef8c437da0f0ec1aa8fe3149a33f9f81e3e3516fb"], [70000, "c8b8d721e046780464d8d939a7fbf5e39306289a06d84e1f9ccfb0fb7b39a810"], [60000, "c007786d493d1c78a0d8648c6accce5032701a3257b430a2c6ab58dea77d7bae"], [50000, "eef8f7d6331c7355b15248b34610053400c11d5ba7216f780ae8ec4e72aede4d"], [40000, "e2e82ceba77f904150803732cf2cafa7a32baa9421c51180eeb6cd43423c4c8c"], [30000, "0f7338e245aff8fc04c75ed88a0a6dbfbd10ee099f58e17ab717c9c49ae8186c"], [20000, "7d76f895bc903b591667984b402bd5139bff507806d5ef1aea070212f310a65d"]],"NXT":"12047478046869276558","allowremote":1,"tag":"72185797819121","lag":111}, {"result":"success","coin":"BTCD","latest":188361,"ledgerhashes":[[180000, "e413f32b6626aa38b1ef0853916d4bd85b6f1ea653016da653bbc43684b980e6"], [180000, "e413f32b6626aa38b1ef0853916d4bd85b6f1ea653016da653bbc43684b980e6"], [170000, "87ab84b41b4b655249bff7870131d82177bd00182c10dc0440a25abd6c213d31"], [160000, "a3df92ad9700473e2b8fbd9322a65f46b81ae21bc756ead8f8611da435375134"], [150000, "12320507b3c1636fd9cbd99b5512f88bf7eb676ffae08754ab7d6e69f98b4647"], [140000, "9d8f2407b1f3ead9a0c934c9642ccc5142e0d9cc2029aee4040791fc0a464ffb"], [130000, "81eb32da52fe84106385193ea2e85fc46148ce7f855dd91a85b0a713fe4b5ab1"], [120000, "de9b6088bb7a14ffaa987e977c40342ccdd52f059aa61f28a24a7997002949eb"], [110000, "ad6808ebeb7efab44718ce996ecfdec71b8d57d2f04342a130e4526e05ff4a57"], [100000, "b5a90a807e99130f162775010f129c4d3fad6a80995c7058b0ed3a94d40cd321"], [90000, "74976f0872dfaa4b0c7b71ebf39330aeec44dd169db7677cc9a04c0f9c6e2e82"], [80000, "7e914c4048568b65934bdaeef8c437da0f0ec1aa8fe3149a33f9f81e3e3516fb"], [70000,
"c8b8d721e046780464d8d939a7fbf5e39306289a06d84e1f9ccfb0fb7b39a810"], [60000, "c007786d493d1c78a0d8648c6accce5032701a3257b430a2c6ab58dea77d7bae"], [50000, "eef8f7d6331c7355b15248b34610053400c11d5ba7216f780ae8ec4e72aede4d"], [40000, "e2e82ceba77f904150803732cf2cafa7a32baa9421c51180eeb6cd43423c4c8c"], [30000, "0f7338e245aff8fc04c75ed88a0a6dbfbd10ee099f58e17ab717c9c49ae8186c"], [20000, "7d76f895bc903b591667984b402bd5139bff507806d5ef1aea070212f310a65d"]],"NXT":"5277534112615305538","allowremote":1,"tag":"72185797819121","lag":119}, {"result":"success","coin":"BTCD","latest":210917,"ledgerhashes":[[210000, "31658d90ad2bafc2f3319970bac703e89613a48ba40799b096a77c8678b64e04"], [210000, "31658d90ad2bafc2f3319970bac703e89613a48ba40799b096a77c8678b64e04"], [200000, "5fe4d677f84eb6e30110e1b88cc703b98dbb8ac696eba2794e83222b0e30ef9f"], [190000, "2d25bf25a8ef54f38b5baecbe7ee8ea1f54f953c31439e7f9b4b3dd4b48131d7"], [180000, "e413f32b6626aa38b1ef0853916d4bd85b6f1ea653016da653bbc43684b980e6"], [170000, "87ab84b41b4b655249bff7870131d82177bd00182c10dc0440a25abd6c213d31"], [160000, "a3df92ad9700473e2b8fbd9322a65f46b81ae21bc756ead8f8611da435375134"], [150000, "12320507b3c1636fd9cbd99b5512f88bf7eb676ffae08754ab7d6e69f98b4647"], [140000, "9d8f2407b1f3ead9a0c934c9642ccc5142e0d9cc2029aee4040791fc0a464ffb"], [130000, "81eb32da52fe84106385193ea2e85fc46148ce7f855dd91a85b0a713fe4b5ab1"], [120000, "de9b6088bb7a14ffaa987e977c40342ccdd52f059aa61f28a24a7997002949eb"], [110000, "ad6808ebeb7efab44718ce996ecfdec71b8d57d2f04342a130e4526e05ff4a57"], [100000, "b5a90a807e99130f162775010f129c4d3fad6a80995c7058b0ed3a94d40cd321"], [90000, "74976f0872dfaa4b0c7b71ebf39330aeec44dd169db7677cc9a04c0f9c6e2e82"], [80000, "7e914c4048568b65934bdaeef8c437da0f0ec1aa8fe3149a33f9f81e3e3516fb"], [70000, "c8b8d721e046780464d8d939a7fbf5e39306289a06d84e1f9ccfb0fb7b39a810"], [60000, "c007786d493d1c78a0d8648c6accce5032701a3257b430a2c6ab58dea77d7bae"], [50000, "eef8f7d6331c7355b15248b34610053400c11d5ba7216f780ae8ec4e72aede4d"], [40000, "e2e82ceba77f904150803732cf2cafa7a32baa9421c51180eeb6cd43423c4c8c"], [30000, "0f7338e245aff8fc04c75ed88a0a6dbfbd10ee099f58e17ab717c9c49ae8186c"], [20000, "7d76f895bc903b591667984b402bd5139bff507806d5ef1aea070212f310a65d"]],"NXT":"8707177131652021883","allowremote":1,"tag":"72185797819121","lag":135}, {"result":"no active ramchain","NXT":"8279528579993996036","allowremote":1,"tag":"72185797819121","lag":195}, {"result":"no active ramchain","NXT":"423766016895692955","allowremote":1,"tag":"72185797819121","lag":198}, {"result":"no active ramchain","NXT":"12240549928875772593","allowremote":1,"tag":"72185797819121","lag":426}, {"result":"no active ramchain","NXT":"6435217126535794819","allowremote":1,"tag":"72185797819121","lag":848}],"success":0,"err responses":5,"total":13})
I submitted a single request to the relays, it then went to a random one, which then broadcast my query to all the nodes asking for Lchain hashes for BTCD, all the nodes that are processing the BTCD Lchain responded back to the relay node, which then gathered all the responses and sent it back to me
this took 2 seconds
blackyblack - Andrew . (sprnt)BOT 1:28 PM
understood
it was hard :simple_smile:
jl777 - james lee (sprnt)BOT 1:29 PM
the relays have no idea what the request specifics are, it is abstracted
there are provider nodes that respond when appropriate
and the providers can provide anything
blackyblack - Andrew . (sprnt)BOT 1:29 PM
can you or someone else give a list of plugins using this supernet functionality
jl777 - james lee (sprnt)BOT 1:29 PM
I can also setup subscription feeds
there is a relays plugin, which does the above, or part of the above
there is a peers plugin that deals with the broadcasting to all the peers
a subscriptions plugin that manages subscriptions (still very early for this one)
blackyblack - Andrew . (sprnt)BOT 1:31 PM
all is C?
jl777 - james lee (sprnt)BOT 1:31 PM
a coins plugin that can talk to any gen1 coin
all in C
a database plugin that does some pretty intense multilevel caching and data packing
the ramchain plugin
blackyblack - Andrew . (sprnt)BOT 1:31 PM
plugins are linked separately?
jl777 - james lee (sprnt)BOT 1:31 PM
the MGW plugin
plugins can be in any language and can be a totally separate process
for simplicity I just link them all in together for the hardcoded plugins
it is also a bit more efficient to be hardcoded
but they can be done as separate process plugins
it is less than 100 lines for the echodemo plugin
blackyblack - Andrew . (sprnt)BOT 1:33 PM
what is the purpose of the mgw plugin?
ain't client code enough to work with mgw?
jl777 - james lee (sprnt)BOT 1:33 PM
it implements the MGW server logic
blackyblack - Andrew . (sprnt)BOT 1:34 PM
only few people need this
jl777 - james lee (sprnt)BOT 1:34 PM
so?
blackyblack - Andrew . (sprnt)BOT 1:34 PM
so it is not default plugin?
jl777 - james lee (sprnt)BOT 1:34 PM
it is hardcoded for now
probably will stay that way as it is quite small now
blackyblack - Andrew . (sprnt)BOT 1:34 PM
will be removed for average users?
jl777 - james lee (sprnt)BOT 1:35 PM
no need to remove, just dont activateit
blackyblack - Andrew . (sprnt)BOT 1:35 PM
thanks
you shed some light on the development...
jl777 - james lee (sprnt)BOT 1:36 PM
to offer a service, you make a plugin, register it with the relays, and respond to requests
blackyblack - Andrew . (sprnt)BOT 1:36 PM
nice
I expected centralized selection of services
jl777 - james lee (sprnt)BOT 1:37 PM
there will be a core set of plugins
but anybody will be able to make a plugin and if a subset of users runs that plugin, they operate in a universe mostly isolated to themselves
jahl (sprnt)BOT 1:45 PM
wht is your personal btc address?
azeh - Azeh (sprnt)BOT 1:46 PM
James, how are L-chains different from Ramchains?
jl777 - james lee (sprnt)BOT 1:49 PM
Lchains are the evolved form of ramchains, it addresses the problem of slow startup and peer validation
so it uses ramchains
to create another layer of data, ie the ledger
it solves the problem of blockchain bloat
azeh - Azeh (sprnt)BOT 1:52 PM
so it is the more distilled version of ramchains?
jl777 - james lee (sprnt)BOT 1:52 PM
not sure what the right word is...
azeh - Azeh (sprnt)BOT 1:52 PM
haha
jl777 - james lee (sprnt)BOT 1:53 PM
the ledger file for BTCD at 220K blocks is 1MB
azeh - Azeh (sprnt)BOT 1:53 PM
wow
jl777 - james lee (sprnt)BOT 1:54 PM
of course you still need some support files, but actually you can get the info for the support files from the relays
like i said, evolution of ramchains
the BTC blockchain is growing exponentially, so soon people wont be able to run it locally
azeh - Azeh (sprnt)BOT 1:55 PM
yes
jl777 - james lee (sprnt)BOT 1:55 PM
but with Lchain, it will only grow linearly, so people's HDD will keep pace
azeh - Azeh (sprnt)BOT 1:55 PM
yes, this is very important right now in the btc world
and all this debate about big blocks will make the problem worse
jl777 - james lee (sprnt)BOT 1:55 PM
it is like a train in the movies
the one that is speeding toward the edge of the cliff
but there is no bridge
Lchain is the bridge that will allow for continued use of bitcoin on people's computers
azeh - Azeh (sprnt)BOT 1:56 PM
yes, agreed.  without that bridge btc becomes much more centralized
and much weaker in the process
jl777 - james lee (sprnt)BOT 1:57 PM
still need to have archival nodes to keep a copy of the full blockchain, to be used for verification of the Lchain
ramchains went a bit too far for max performance
so i made some tradeoffs to reduce resource usage, and added a lot more useful data to Lchain
azeh - Azeh (sprnt)BOT 1:59 PM
nice, can't get away from trade-offs a fact of life
but in this instance it seems like it would be for the better
jl777 - james lee (sprnt)BOT 2:01 PM
having a super high performance DB system has allowed me to accept making some DB calls for less frequent things
but then I added a ram cache on top of the fastest key/value store DB system
but it is more than just a cache as I have arranged the data to map to consecutive indices, so I can have a packed array that is synchronized to the HDD via DB calls at regular intervals
azeh - Azeh (sprnt)BOT 2:04 PM
and this is the backbone for the plug-in system
I heard she's a beautiful girl :simple_smile:
jl777 - james lee (sprnt)BOT 2:05 PM
actually, Lchain is implemented as several plugins
this allows the Lchain function to be split out from the MGW function
so you can have 10 computers with Lchain to make sure 3+ are available 100% of the time
the MGW function only needs access to the Lchain servers + up to date blockchain locally
then it queries the Lchain, verifies locally and signs, gets consensus, submits
azeh - Azeh (sprnt)BOT 2:06 PM
so this will obviously speed up MGW enormously
jl777 - james lee (sprnt)BOT 2:07 PM
the problem with MGW uptime has been that all three had to be in 100% sync at all times
azeh - Azeh (sprnt)BOT 2:07 PM
and now they will, right?
jl777 - james lee (sprnt)BOT 2:07 PM
now this is not the case, yet we still get the same redundancy, actually more
the Lchain is a data provider to the MGW servers
if all the Lchains are in agreement, that is good enough for MGW to verify locally
so there are actually additional safety checks with this separation of function
now an Lchain server can go offline, but MGW is still running
also the startup time is MUCH improved, but for MGW it wont even matter as it is the Lchain that takes any time to startup
MGW startup will be pretty instant
faster and more reliable
coin confirmation time
+ 10 seconds
but the MGW servers do need to be online
azeh - Azeh (sprnt)BOT 2:09 PM
wow, 10 seconds is extremely fast
jl777 - james lee (sprnt)BOT 2:09 PM
the othe rproblem was connectivity
azeh - Azeh (sprnt)BOT 2:10 PM
will the servers still be manually operated?
jl777 - james lee (sprnt)BOT 2:10 PM
what do you mean "still be", they are not manually operated now
it is just that they lose connection with each other once every few days and needs to be kickstarted
and then the startup time makes it go offline for a bit
x3
so this removes the need for restarting due to comms problems (assuming it is indeed more reliable)
and downtime due to restarting the ramchain
azeh - Azeh (sprnt)BOT 2:11 PM
Ah, gotcha, maybe i was confused the kickstarting with manual operation :wink:
jl777 - james lee (sprnt)BOT 2:11 PM
now the legacy MGW is running code that is 1 year old!
azeh - Azeh (sprnt)BOT 2:12 PM
Where does teleport fit into all this?
jl777 - james lee (sprnt)BOT 2:12 PM
that is very old code and there really only has been one bug
teleport will be a comms plugin
azeh - Azeh (sprnt)BOT 2:12 PM
Will this be a separate plug-in now?
ah, k
jl777 - james lee (sprnt)BOT 2:12 PM
any feature you can think of, will be a plugin
remember, SuperNET itself is a BTCD plugin
azeh - Azeh (sprnt)BOT 2:13 PM
yes :simple_smile:
jl777 - james lee (sprnt)BOT 2:13 PM
I run the plugin host code inside BTCD and SuperNET plugs into it
azeh - Azeh (sprnt)BOT 2:13 PM
i remember
jl777 - james lee (sprnt)BOT 2:13 PM
then it runs the plugin host code so other plugins can plugin
azeh - Azeh (sprnt)BOT 2:13 PM
the plug-in system is really elegant
jl777 - james lee (sprnt)BOT 2:13 PM
and a plugin can broadcast locally, or globally
azeh - Azeh (sprnt)BOT 2:13 PM
should really help to remover barriers from other developers creating their own plug-ins
and developing for SN
jl777 - james lee (sprnt)BOT 2:14 PM
with 100 lines of code, you can make a new plugin, publish its availability to the relays, and start selling subscriptions or whatever
azeh - Azeh (sprnt)BOT 2:14 PM
yes, very cool
jl777 - james lee (sprnt)BOT 2:14 PM
i know people are impatient, but what I am doing is quite novel
azeh - Azeh (sprnt)BOT 2:14 PM
I get how that is infinitely better already
jl777 - james lee (sprnt)BOT 2:14 PM
and labor intensive
every step must be 100% solid
99.99% just isnt good enough, and 99.9999% is just barely good enough
the code is getting less
azeh - Azeh (sprnt)BOT 2:15 PM
Yes for sure. She must be rock solid
jl777 - james lee (sprnt)BOT 2:16 PM
which is a good sign and indicates convergence to release
you know the puzzle where you are moving numbers around, but there is only one empty slot?
with so much code, it is easy to get to where it is hard to make progress
but with the plugins, now it is like I can just remove the tiles and pop them in wherever it needs to go
azeh - Azeh (sprnt)BOT 2:17 PM
so it essentially simplifies things on all levels
jl777 - james lee (sprnt)BOT 2:17 PM
the code isnt directly connected to each other, it is more a "wireless"
azeh - Azeh (sprnt)BOT 2:17 PM
including the code
jl777 - james lee (sprnt)BOT 2:17 PM
no rats nest of cables getting in the way
azeh - Azeh (sprnt)BOT 2:18 PM
and allows you to separate the component pieces and plug them in when you need to
jl777 - james lee (sprnt)BOT 2:18 PM
it is 1000x easier to get 1000 lines of code 100% than 100,000 lines of code
maybe 10,000x
and the plugins are language independent, even linker independent as they can be in a totally separate process
so everything is interfacing to the same "wireless" broadcast
but the really cool part is that you can "broadcast" just to the local process, just to the local computer or globally across the internet
i still need to put in security safeguards, but first step is to get it working
btcddev - BTCDDev bitcoindark (sprnt)BOT 2:22 PM
I always visualize plugins, quite literally, as a plug in to a wall socket. Honestly, that interface is very elegant and extensible. It has the potential to work well with almost any electrical appliance, even machines the designer never could have imagined.
We don't know what plugins people will create for SuperNET
But with a good interface, the possibilities are endless :simple_smile:
jl777 - james lee (sprnt)BOT 2:24 PM
now that I have disclosed the new tech, the price is sure to drop 35%
blackyblack - Andrew . (sprnt)BOT 2:24 PM
microsoft had the same idea with plugins
but there is no universal socket in programming. unless it is a berkley socket
jl777 - james lee (sprnt)BOT 2:25 PM
nanomsg
pretty universal
blackyblack - Andrew . (sprnt)BOT 2:25 PM
somehow universal :simple_smile:
jl777 - james lee (sprnt)BOT 2:25 PM
http://nanomsg.org/documentation.html
it is abstracting the socket
blackyblack - Andrew . (sprnt)BOT 2:26 PM
I know abou mq protocols
jl777 - james lee (sprnt)BOT 2:26 PM
and creating half a dozen scalability protocols
ok, the same dev, wrote it in the proper language to make nanomsg
blackyblack - Andrew . (sprnt)BOT 2:27 PM
json and berkley sockets are universal too
I prefer them over mq
jl777 - james lee (sprnt)BOT 2:27 PM
i am using json over nanomsg
blackyblack - Andrew . (sprnt)BOT 2:28 PM
so much universal :simple_smile:
jl777 - james lee (sprnt)BOT 2:28 PM
it supports ws:// to solve most connectivity issues
at least my node which always has connection problems is working with one set of relay servers
blackyblack - Andrew . (sprnt)BOT 2:29 PM
good guys use http
jl777 - james lee (sprnt)BOT 2:29 PM
still cant talk with some of the servers directly, but just need to establish contact with one relay server
then all the relays cross connect
this should solve all the strange InstantDEX connection issues also
it will easily scale to 4000 nodes, which will take a bit of time
during that time it wont be a problem to get a smallworld network topology bootstrapped
i think a chat plugin is a matter of a day's work
btcddev - BTCDDev bitcoindark (sprnt)BOT 2:32 PM
@jl777: still thinking to use idex orderbook as a chatroom?
or a new method
jl777 - james lee (sprnt)BOT 2:36 PM
chat plugin
just make it respond to a few commands: create channel, join channel
then if joining subscribe, if creating channel publish
use the relays to propagate the messages
easy squeezy
btcddev - BTCDDev bitcoindark (sprnt)BOT 2:38 PM
this will be a nice plugin to draw users
jahl (sprnt)BOT 2:39 PM
and a needed one to draw the masses imho
btcddev - BTCDDev bitcoindark (sprnt)BOT 2:40 PM
agreed jahl
jl777 - james lee (sprnt)BOT 2:44 PM
after i get the InstantDEX encapsulated in a plugin, that will be two completely different extremes and then additional use cases shouldnt be much extra effort to support
I am hoping that I can move to a supporting role for these types of plugins
jahl (sprnt)BOT 2:44 PM
look @jl777 , since you don't respond to my question, i will have to use a threat, if you don't give me a btc address to which i can donate to you as a sign of appreciation i will not donate the same amount to the btcd dev fund
jl777 - james lee (sprnt)BOT 2:44 PM
so I can continue to push forward on the privacy side
btcddev - BTCDDev bitcoindark (sprnt)BOT 2:46 PM
btcddev fund? :smile:
jl777 - james lee (sprnt)BOT 2:46 PM
@jahl: sorry didnt realize it was to me. i dont think i ever got any BTC donation before
jahl (sprnt)BOT 2:46 PM
well its about time it started
whts the btcd fund address again?
36vQrrrjT1A8X3s56fdfkYzWzMgjSWhTWY correct?
legendary
Activity: 1764
Merit: 1031
May 18, 2015, 10:45:34 AM
MMBTCD all sold out. Update here: https://nxtforum.org/assets-board/btcd-mutual-fund-and-market-making-asset-mmbtcd/
We're taking a mutual fund as well as market-maker approach, because BTCD is so thinly traded. Hopefully using revenues from other assets will inject some liquidity and give us something to work with.
legendary
Activity: 1764
Merit: 1031
May 17, 2015, 10:07:45 AM
Update on MM-BTCD asset (8122396658538927693). Now over 50% sold. Thanks to investors.

I'd like to add some info on revenue streams:
Market making bot and buy walls will be set on NXT AE, Poloniex, and Bittrex
We plan to provide constant buy pressure, on top of usual market making, which should help the price grow.
So the purpose of the fund is twofold - bots are making profits through MM and at the same time gently push the price higher.
So you profit both from dividends and BTCD appreciation if you're a BTCD holder. To kick start dividend payments it is possible to hold some dividend paying asset, such as MMNXT. It will be decided on after the IPO phase is over.
Also I'd like to note that no further assets will be sold until the asset price doubles, outstanding shares will be sent to an escrow after IPO phase is over.

Dividends will be every Wednesday in superBTCD / mgwBTCD, but probably not this Wednesday: it's unlikely the ICO will have sold out and the bots fully operational by then.
hero member
Activity: 577
Merit: 500
May 17, 2015, 09:52:09 AM
-----
Please help support BitcoinDark development by sending your donations to the following Official BTCD Donation Address:
RDtnnLj5LQ8YMxBJbHX1N4jNKeaC67FLGW

or you can donate using BTC using the Official Multisig Donation Address:
36vQrrrjT1A8X3s56fdfkYzWzMgjSWhTWY



BTCD donation sent  Smiley
hero member
Activity: 577
Merit: 500
May 16, 2015, 11:07:26 AM
all coins of supernet are dumped not only btcd
the problem is  supernet (and btcd ) is only a long term project for investors and nobody can know when we could really use it ( with instandex, mgw..)
if it takes 2 ,  6 months or more no interest to buy now

It's 'horses for courses'  Smiley

Some people (the less risk averse) invest early on the basis of possibility; others (more risk averse) and that's the majority of potential investors, wait until the technology is proven or at least off the drawing board and being implemented.

Whatever you do - invest and hold; trade; wait and see with a view to possibly investing 'when the time is right' - you're running a risk.

What's worse: investing and losing what you have or not investing and losing what you might have had?

For me, it's definitely the latter.

The only way to avoid that dilemma is to close your mind to new ideas and only notice them for the 1st time when they're part of everyday life - which of course is what most people do (but not, by definition, any of us!)
legendary
Activity: 1582
Merit: 1001
www.neutroncoin.com
May 16, 2015, 10:22:49 AM
Can not wait for everythings to come together and bring more alternative coins together.coin in future. 
legendary
Activity: 1169
Merit: 1000
May 16, 2015, 08:55:56 AM
all coins of supernet are dumped not only btcd
the problem is  supernet (and btcd ) is only a long term project for investors and nobody can know when we could really use it ( with instandex, mgw..)
if it takes 2 ,  6 months or more no interest to buy now
newbie
Activity: 53
Merit: 0
May 16, 2015, 07:31:29 AM


The main idea is to add liquidity and buy support to BTCD. The effect will likely be limited, especially at first, but I hope that it will still be worthwhile. BTCD's thin orderbooks mean that it is susceptible to market manipulation and large price swings on low volumes. If we can gradually increase value ahead of the major tech releases, that would be good.
I'm still thinking about the best way to distribute revenues to BTCD stakers. A database is not necessary. The simplest way would be to make a transaction with a large tx fee. It could be one tx fee per week, or 100 or 1000. It's chance who gets it, but the more transactions made, the more likely any given staker is to get that block. With one large payout it is effectively a lottery, and larger stakers are likely to get it. We'll need to strike a balance here.
The new wallet is under development, but I'll let someone else who knows a little more than me update you on that.
[/quote]

Yes,
MMNXT is good assets and expects MMBTCD.

The allotment of stakers understood only a little.
When include the allotment of the super net;  5:5:5:10model. It becomes
( :-O

In addition, I seemed to progress steadily, and I who was very nice contributed it if I watched slack,
It will be the return that is enough if I watch release.

I thank splendid work everybody.
Jump to: