Bitcoin Forum
May 09, 2024, 11:35:05 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: Do you Accept Komodo ICO conversion vs Reject Komodo ICO conversion and fund new dev team?
Accept - 145 (68.7%)
Reject - 66 (31.3%)
Total Voters: 211

Pages: « 1 ... 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 [178] 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 ... 547 »
  Print  
Author Topic: BTCD is no more  (Read 1328438 times)
Cassius
Legendary
*
Offline Offline

Activity: 1764
Merit: 1031


View Profile WWW
August 15, 2014, 08:08:19 PM
 #3541

Don't know what the schedule is for publicity and the website. I'm away from Sunday until 3 September but happy to help with content when I'm back if you need it.
Of course, by 2 weeks' time just about anything could have happened and BTCD could already be a top 10 coin...
I've been working with our PR agency on the first press release and it became clear I need to write a Tradebotpaper describing how BTCD is the crypto whose Turing complete scripting language has the most programmers who already know the language. Literally millions of coders know C, and tradebots are written in C!

By using linked tradebots and some data synchronization functions, any corporation or group can deploy their own set of linked tradebots and they will maintain a private blockchain running independently. So, like the Internet can run any protocol, the BTCD supernetwork and linked tradebots can run any blockchain, custom programmed by anybody that knows C

I realized it got a bit too complicated and needed Tradebotpaper. Not sure how the pirates will deal with an arbitrary number of overlapped heterogeneous blockchains.

James

Cheesy
Glad you've still got a sense of humour after the day NXT just had.
1715297705
Hero Member
*
Offline Offline

Posts: 1715297705

View Profile Personal Message (Offline)

Ignore
1715297705
Reply with quote  #2

1715297705
Report to moderator
1715297705
Hero Member
*
Offline Offline

Posts: 1715297705

View Profile Personal Message (Offline)

Ignore
1715297705
Reply with quote  #2

1715297705
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715297705
Hero Member
*
Offline Offline

Posts: 1715297705

View Profile Personal Message (Offline)

Ignore
1715297705
Reply with quote  #2

1715297705
Report to moderator
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1132


View Profile WWW
August 15, 2014, 08:27:27 PM
 #3542

There seems to be a lot of confusion about the usage of NXT. I guess most of you are not analyzing the libjl777 source code?

OK, I will describe how much of NXT is used for Teleport. I am sort of lazy when it comes to things that I have already got working and since I have tokenization using NXT acct working, I still use that as a method to prevent spoofing. What this means is that whenever a message is sent, I the NXT API generateToken function that generates a token based on that message (and time) and this allows me to use the NXT API function decodeToken.

These two functions are just using curve25519 locally to create a signature, at least I think that is how it is doing it. Anyway if I wasnt so lazy I could write my own tokenizing function and removed this NXT usage. I also use my internal hash table that is keyed off of a NXT account number, which is conveniently 64bits. To map a BTCD address to NXT address requires using a third NXT API function getAccountId, this again is a local function that converts anything to a NXT address

Maybe there are some few other dependencies, but the above three are the only ones I can think of. So, this means I am not using the NXT blockchain for teleport at all. I am not using the NXT blockchain for privacyServer, remember BTCD is making its own supernetwork so it has to be independent of any other network.

I do use NXT blockchain to clear InstantDEX trades. If the NXT blockchain disappears, that would certainly not be good, but there is no danger of that. The market price of NXT is totally irrelevant and as long as there are enough NXT nodes to keep its blockchain going, then InstantDEX keeps going. Since BTCD nodes will also have a NXT node, this assures that InstantDEX is secure.

With a multimillion dollar loss, I doubt bter will survive, coincidentally I had just yesterday totally emptied my bter account. This means the #2 exchange will likely take over the bulk of the day to day trading for NXT. That #2 happens to be MGW which has been handling 50 BTC to 100 BTC per day of deposit/withdraws and similar trading activity. As you know I happen to have written MGW and InstantDEX will benefit from this.

I hope this answers any concerns about BTCD reliance on NXT. I have written more code than all of the NXT core, there is a LOT of functionality that is totally independent of NXT. I am just lazy and tend to keep using what is not broken

James

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1132


View Profile WWW
August 15, 2014, 08:29:56 PM
 #3543

Don't know what the schedule is for publicity and the website. I'm away from Sunday until 3 September but happy to help with content when I'm back if you need it.
Of course, by 2 weeks' time just about anything could have happened and BTCD could already be a top 10 coin...
I've been working with our PR agency on the first press release and it became clear I need to write a Tradebotpaper describing how BTCD is the crypto whose Turing complete scripting language has the most programmers who already know the language. Literally millions of coders know C, and tradebots are written in C!

By using linked tradebots and some data synchronization functions, any corporation or group can deploy their own set of linked tradebots and they will maintain a private blockchain running independently. So, like the Internet can run any protocol, the BTCD supernetwork and linked tradebots can run any blockchain, custom programmed by anybody that knows C

I realized it got a bit too complicated and needed Tradebotpaper. Not sure how the pirates will deal with an arbitrary number of overlapped heterogeneous blockchains.

James

Cheesy
Glad you've still got a sense of humour after the day NXT just had.
It is bter that had a bad day, for NXT it avoided disaster by not rolling back the blockchain. 5% of coins is now concentrated back into a single person, so he is like a new full BTC founder via illegal means. This wont really affect NXT much, other than offer some nice low prices for buyers for the next week or so

James

P.S. I think you are one of few who finds "overlapped heterogeneous blockchains" funny Smiley

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1132


View Profile WWW
August 15, 2014, 08:55:19 PM
 #3544

Nxt is done, should be time for btcd then rught?

Um no. And, this whole teleport thing works with NXT. So be careful what you wish for.


i know NXT is not gone but are you saying that without NXT there will be no teleport?

I don't believe that is the case. If I've understood correctly, Teleport will work within BTCD in its own right. However, there is a complete ecosystem for trading and cashing out telepods, which will rely on the infrastructure James has been building within NXT (NXTprivacy, tradebots, InstantDEX). I don't understand all of the pieces of the puzzle, though.

This was a bad day for NXT and a lot of people are understandably very unhappy about it. There was no good solution, only least-worst ones. For what it's worth, I think leaving the blockchain alone was the right course of action. Whether the hacker can be found and NXT returned remains to be seen.

EDIT: PilotofBTC, that rings a bell too, but I'm not sure.
Teleport does not use NXT blockchain at all, just a few NXT local functions
Teleport uses privacyServers and every BTCD node is a privacyServer, you know fully decentralized
Tradebots would use NXT blockchain for certain types of transactions, but it is possible to do direct wallet to wallet trades, so only would use the blockchains for the coins traded

I am making a system that distributes functionality to all the nodes and doing as much as possible on a direct peer to peer basis. I design things for minimal reliance on external services (I do not consider local API functions as an external service) so unless I make error in design, then even the collapse of some significant external service will be an inconvenience, not a disaster

I welcome any and all technical feedback so I can continue to improve the robustness of BTCD supernetwork

James

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
PilotofBTC
Legendary
*
Offline Offline

Activity: 1736
Merit: 1001


View Profile
August 15, 2014, 09:02:10 PM
 #3545

Thanks for the clarification james. Your right, as you said, and I said, I wasn't reading the code. I thought you were teleporting on the NXT block chain. Let's hope NXT doesn't change their API for the parts you are using. Wink
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1132


View Profile WWW
August 15, 2014, 09:24:32 PM
 #3546

Thanks for the clarification james. Your right, as you said, and I said, I wasn't reading the code. I thought you were teleporting on the NXT block chain. Let's hope NXT doesn't change their API for the parts you are using. Wink
ha ha ha
they already changed the API for getAccount, I am used to it

Here are some Teleport API:


The first JSON function you need to call is getpubaddrs.

"{\"requestType\":\"getpubaddrs\"}"

this will return JSON I will leave out backslashes:

[{entry},{entry}...]

where each entry is:

{"srvipaddr":"<ip addr>","srvNXTaddr":"<addr>","pubkey":"<addr>","pubBTCD":"<addr>","pubNXT":"<addr>","pubBTC":"<addr>"}

any of the pubCOIN addrs can be used to send a message to that node. The pubkey is the actual session specific half of the keypair for that node. Probably dont need it, but nice to have it confirmed that it propagated the right values. Doing this command will update the database to the latest values and since the pubkeys are recreated for each session and any node can change what privacyServer they connect through at any time, I make it a separate command and doing this will also automatically publish your public info so the other side can contact you back.

You are probably wondering how does this info magically appear in all the nodes. During the init call, in the jl777.conf file or JSON, there is the "pubaddr" field for BTCD. This directly maps to the NXT addr and also BTC addr (though I am still working on doing the BTC mapping), and so just from one pubaddr for BTCD, all the info is available and it automatically will send a broadcast message calling the C++ entry point with the required info.

Once you have the srvpubaddr and the more importantly the srvipaddr, it becomes possible to send messages to the destination using:

{"requestType":"routemsg","dest":"<destpubaddr>","msg":"<message>","numlayers":N}

The dest is any of the pubaddrs for your recipient, "msg" is any ascii message you want to send and N is the number of onion layers you want to use, currently max of 2 defaults to 2. Once contact is established, teleport becomes possible:

{"requestType":"teleport","dest":"<destpubaddr>","amount":float,"coin":"<BTCD|BTC|NXT...>","minage":a,"M":m,"N":n}

minage a is the number of blocks for the youngest telepod to be used in the transporter, m and n are the multisig parameters n is max of 254. I find if I write the documentation before I code it up, often I find issues, so the above are what I will be coding today. If all goes well we will be able to test these basic low level commands and then we are off to the races.

James

P.S. I hope somebody is tracking these useful API posts so to make possible easy creating of programmer's guide

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
PilotofBTC
Legendary
*
Offline Offline

Activity: 1736
Merit: 1001


View Profile
August 15, 2014, 10:26:10 PM
 #3547


P.S. I hope somebody is tracking these useful API posts so to make possible easy creating of programmer's guide

Nice. Very clear.
xyzzyx
Sr. Member
****
Offline Offline

Activity: 490
Merit: 250


I don't really come from outer space.


View Profile
August 16, 2014, 01:42:35 AM
 #3548

There seems to be a lot of confusion about the usage of NXT. I guess most of you are not analyzing the libjl777 source code?

OK, I will describe how much of NXT is used for Teleport. I am sort of lazy when it comes to things that I have already got working and since I have tokenization using NXT acct working, I still use that as a method to prevent spoofing. What this means is that whenever a message is sent, I the NXT API generateToken function that generates a token based on that message (and time) and this allows me to use the NXT API function decodeToken.

These two functions are just using curve25519 locally to create a signature, at least I think that is how it is doing it. Anyway if I wasnt so lazy I could write my own tokenizing function and removed this NXT usage.

Nxt developers need to ensure backwards compatibility.  It's kinda a mess right now with the changing API, as you're very well aware.  Anyway, this is how tokenization works in Nxt:



It's pretty straight-forward.

"An awful lot of code is being written ... in languages that aren't very good by people who don't know what they're doing." -- Barbara Liskov
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1132


View Profile WWW
August 16, 2014, 02:04:04 AM
 #3549

There seems to be a lot of confusion about the usage of NXT. I guess most of you are not analyzing the libjl777 source code?

OK, I will describe how much of NXT is used for Teleport. I am sort of lazy when it comes to things that I have already got working and since I have tokenization using NXT acct working, I still use that as a method to prevent spoofing. What this means is that whenever a message is sent, I the NXT API generateToken function that generates a token based on that message (and time) and this allows me to use the NXT API function decodeToken.

These two functions are just using curve25519 locally to create a signature, at least I think that is how it is doing it. Anyway if I wasnt so lazy I could write my own tokenizing function and removed this NXT usage.

Nxt developers need to ensure backwards compatibility.  It's kinda a mess right now with the changing API, as you're very well aware.  Anyway, this is how tokenization works in Nxt:



It's pretty straight-forward.
I am pretty sure I have the C code to a 25519 signing somewhere, but it is not a priority to eliminate NXT dependencies as I need it for AE tradings

nice charts!
maybe you can do some for the DarkPaper?

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
xyzzyx
Sr. Member
****
Offline Offline

Activity: 490
Merit: 250


I don't really come from outer space.


View Profile
August 16, 2014, 02:12:23 AM
 #3550

Nxt developers need to ensure backwards compatibility.  It's kinda a mess right now with the changing API, as you're very well aware.  Anyway, this is how tokenization works in Nxt:

https://i.imgur.com/uFOmo95.png

It's pretty straight-forward.
I am pretty sure I have the C code to a 25519 signing somewhere, but it is not a priority to eliminate NXT dependencies as I need it for AE tradings

If Nxt keeps the API as a moving target, there's always Dogeparty.  Wink

Actually, I say that half-joking.  If Nxt devs break your stuff with their constant API changes, I'll start complaining to them.  I'm currently silently watching to see what they do.

nice charts!
maybe you can do some for the DarkPaper?

Thanks.
Sure.  Just point me to the sections you want illustrated.

Edit: oh, BTW: http://ed25519.cr.yp.to/
It is Ed25519, which is slightly different than the Curve25519 they're using, but it should work if you decide you need to use it.

"An awful lot of code is being written ... in languages that aren't very good by people who don't know what they're doing." -- Barbara Liskov
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1132


View Profile WWW
August 16, 2014, 02:15:23 AM
 #3551

Nxt developers need to ensure backwards compatibility.  It's kinda a mess right now with the changing API, as you're very well aware.  Anyway, this is how tokenization works in Nxt:

https://i.imgur.com/uFOmo95.png

It's pretty straight-forward.
I am pretty sure I have the C code to a 25519 signing somewhere, but it is not a priority to eliminate NXT dependencies as I need it for AE tradings

If Nxt keeps the API as a moving target, there's always Dogeparty.  Wink

Actually, I say that half-joking.  If Nxt devs break your stuff with their constant API changes, I'll start complaining to them.  I'm currently silently watching to see what they do.

nice charts!
maybe you can do some for the DarkPaper?

Thanks.
Sure.  Just point me to the sections you want illustrated.


http://209.126.70.170/DarkPaper.pdf it has places with "insert graphic here"
so any of those that you can see how to make it nicely illustrated and of course any other graphic that comes to mind. DarkPaper is just all text now and it needs some illustrations

Thanks!

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1132


View Profile WWW
August 16, 2014, 03:18:08 AM
 #3552

Been kind of hard with all the drama going on in NXT land today...
Finally got the broadcasting/propagation of the pubkeys and pubaddrs coded, even tested out in the loopback setup I have. Seems like I am missing something as there wasnt much code required.

Next is to code up the message sending, but since I already have half a dozen variations on doing this, it should just be a matter of tweaking an existing function. Hopefully I will be able to focus...

James

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1132


View Profile WWW
August 16, 2014, 04:40:06 AM
 #3553

I am hijacked the rest of the day. Need to babysit MGW servers, which are critically needed with the shutdown of the major NXT exchange bter

James

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
chicken65
Hero Member
*****
Offline Offline

Activity: 770
Merit: 506


View Profile
August 16, 2014, 10:20:47 AM
Last edit: August 16, 2014, 10:38:22 AM by chicken65
 #3554

Dev,

 I cant understand much of what your saying.
Is it possible you can sometimes  intersect in plain english what some of the
techie stuff means when you post- which relates to BTCD.
I understand your busy though.


chicken65
Hero Member
*****
Offline Offline

Activity: 770
Merit: 506


View Profile
August 16, 2014, 10:41:29 AM
 #3555

Can someone tell me what the meaning of this on my BTCD wallet is.

Weight?
I understand this is going up, but what is it
SpringfieldM1A
Hero Member
*****
Offline Offline

Activity: 966
Merit: 550



View Profile
August 16, 2014, 10:44:23 AM
 #3556

Dev,

 I cant understand much of what your saying.
Is it possible you can sometimes  intersect in plain english what some of the
techie stuff means when you post- which relates to BTCD.
I understand your busy though.




There is a Darkpaper out, which explains the workings and ambition of Bitcoindark.It aims to be understood by both tech oriented people, and the general enthusiast (like me) It can be found here:

http://www.flipgorilla.com/p/23023990364728535/show#/23023990364728535/0

Should you have any further questions feel free to ask them here. James is very busy at the moment, but he will gladly answer questions when he has the time.
bitkokos
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500

0_0


View Profile
August 16, 2014, 11:20:58 AM
 #3557

Can someone tell me what the meaning of this on my BTCD wallet is.

Weight?
I understand this is going up, but what is it

That's for staking (PoS)

Below I am pasting some info, but, I am not sure if they are correct.

weight = coin age * balance

coin age increases linearly over time as long as the coins are not used in a transaction. The exptected time estimate is not very good, I think it misses to take the weight increase into account so it always assumes the weight to stay constant. This is why the expected time usually decreases faster than real time.

Also note that this is a probabilistic method. While you WILL get 1% per year, there is no deterministic way to calculate what you will earn at a particular day.

O_o
SpringfieldM1A
Hero Member
*****
Offline Offline

Activity: 966
Merit: 550



View Profile
August 16, 2014, 11:28:29 AM
 #3558

Can someone tell me what the meaning of this on my BTCD wallet is.

Weight?
I understand this is going up, but what is it

Weight = coin age * balance

So your weight increases with both the time you stake coins in your wallet and the amount of coins you keep in your wallet.

Your weight influences the amount of coins you are rewarded for staking. The higher the weight, the more coins you recieve from staking.

Basically it's like interest on your savings account in a normal bank. The higher your savings account and the longer you keep it at the bank, the more interest you recieve.
demols
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
August 16, 2014, 12:33:07 PM
 #3559

I just download the wallet i can make a backup ( this will be a .dat file ) but where can i import this file iff i need to ?
bitkokos
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500

0_0


View Profile
August 16, 2014, 01:30:39 PM
 #3560

I just download the wallet i can make a backup ( this will be a .dat file ) but where can i import this file iff i need to ?

if you are on a windows 7 computer this is the path
C:\Users\youruserername\AppData\Roaming\BitcoinDark 
replace yourusername with your computer user name
and the file is wallet.dat


O_o
Pages: « 1 ... 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 [178] 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 ... 547 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!