Pages:
Author

Topic: [ANN] SuperNET NXT asset 12071612744977229797, SUPERNET KMD assetchain in summer - page 45. (Read 736772 times)

tyz
legendary
Activity: 3360
Merit: 1533
Looks really awesome and promising  Shocked Can't wait to test it in live mode once it has started .

You can see InstantDEX in realtime and get the feel for it by visiting:

www.instantdex.net

Cheers!
legendary
Activity: 1176
Merit: 1134
Caught up with buglist, sped up orderbook loading by 10x, support remote servers vi cgi, activated central exchange quotes and trading, enabled automatch and autofill.

I am sure there have to be more bugs than have been reported, but now most all the v1 functionality is enabled. I will work on trading to btc38, MS coins support and stats info calls next

James

legendary
Activity: 1176
Merit: 1134
Now the data flow is much more sane, I was able to add Ddos protection pretty quickly.

I use leverage factors of 9, 81 and 729 for local, relay and global requests

you might see a pause for sending placebid/placeask as these are global requests
the leverage factor of 729 means it takes 729x CPU power to create a valid packet than to validate it

so with just 10 relay nodes, over 7000 servers will be needed to successfully attack and the attack would just slow things down
probably an easier attack is at the relay level, it "only" takes 81x the number of relay servers to saturate the relays, but the peer to peer comms already established wont be affected.

i expect we will start with about 30 relays, so 2000+ attacker CPU's at this level. Since any node can elect to become a relay too, under attack scenarios, more and more nodes can become a relay to make the attack more and more expensive or we can boost the leverage at the cost of higher average latency.

James
legendary
Activity: 1176
Merit: 1134
Been coding pretty intensely to create a general framework that allows all the specific usecases that I have thought about to be handled.
For people who are complaining of the delays, then I apologize that I am slow to get things completed. It is not from lack of hours though as I have put in about 5000 hours of work in the last 10 months. Maybe I am just a slow coder, or maybe this is not such an easy thing to do. I searched for things I can cut and paste to solve it, but there didnt seem to be any such thing.

However, things are inching toward the Tuesday. The framework described below is in testing with an InstantDEX/MGW/ramchains/Lchains agents and a set of decentralized load balanced servers. I am not doing the GUI or the Windows port or the installer, so I cannot speak to when all that will be done. I do feel that I am bugfixes away from a completed framework and then it will be onto specific agents for the pending usecases, eg. teleport, telepathy, etc.

The following is the basic, simplified explanation. You also need to know about the SuperNET agents described elsewhere as they are what plugs into all of this. ultimately agents will be able to be written in any of a dozen different languages and it wont have to know anything about networking, crypto, blockchains, etc. but it can take advantage of them.

you send in JSON, it returns JSON

this should be the key to understanding
now the cgi path has messy HTML handling that is needed to allow browsers/curl/GUI to be able to construct the JSON and push it into the blackbox. From HTML there are all sorts of restrictions so making a single localhost HTML to access two different ports, is actually an issue. the SuperNET cgi allows a single HTML to interface to any number of RPC interfaces in addition to the SuperNET API.

the API is pretty directly invoked via ./BitcoinDarkd SuperNET '{...}'

where the '{...}' is the JSON
so you dont have to understand HOW it is doing, but just what. like driving a car
so if something is broken, then what does that mean?

either the blackbox is broken (JSON -> return JSON is wrong) or the JSON being pushed into the blackbox is wrong

if that is the case, it could be the cgi glue layer
or the GUI
let me know if any questions. people often confuse the difficulty of getting it to work with the difficulty of using it

[GUI] <-> (cgi) <-> {API JSON blackbox}

curl bypasses the GUI and injects into the (cgi)
./BitcoinDarkd bypasses the (cgi) and injects into the {API JSON blackbox}

*** advanced stuff follows ***
now this {API JSON blackbox} is where the SuperNET agents are
the (cgi) actually spawns a new nanomsg connection with a special thread to accept the requests from the cgi, this is fully multithreaded
the SuperNET commandline goes through a parser and the BitcoinDarkd path also goes through a bit of processing
but they all end up in the same place called process_user_json
this processes the user's JSON

now things do indeed get a bit complicated....

I am pushing more and more things through the "busdata" path as that allows for modular authentication, encryption, and other privacy things
but it is still possible (not sure if I wont deprecate this) to directly invoke an agent by not having the "busdata" agent specified
let us ignore this as I expect to use the busdata for as much as possible as it makes for the same processing whether going out to the network or staying within the local node

the busdata path behaves a bit differently if you are running a relay node or not. if you are not, then it converts the user json into a binary format with whatever authentication that is specified and issues a load balanced call to the relays. one thing to note is that the client can specify a "broadcast":"allrelays" or "allnodes"
if it is a relay node, it broadcasts to all relays and then processes the request locally

back to the client path... it ends up at a specific relay node that processes it locally, but if the "broadcast" is specified, then it is broadcast to allrelays or allnodes
notice that in the case of "broadcast":"allrelays", this is having the same state as when the originating node was a relay
the relays are receiving the busdata packet and if it is an "allrelays" one they process it locally, if it is a "allnodes" global broadcast, they currently ignore it

the reason for this is that for something like InstantDEX where your node wants to broadcast its placebid globally, it just needs to get to all the other nodes and not the relays themselves (assuming the relay node is not used as a normal node), so it is like a "doughnut", with a hole in the middle. "allrelays" sends to the middle and "allnodes" to all nodes, but the middle is probably ignoring it. havent figure out whether it is worth to adding a flag to the global broadcast to tell the relays to process locally

now, this "process locally", you are asking what that means
it means to decode the binary data, authenticate it and then route it to the correct place
this can be one of several places, plus there are also some control things like registering a service provider

if the {user json} was a request for a specific service provider, then the relay will send the request to a random node that has previously registered and then it waits for the response and then routes the data back to the original node. In the event that the random relay that received the request does not have any registered nodes for that service, it does an allrelays broadcast, in hopes that some other relay has such a service. havent automated the sending back of the response from the failover path back to the original caller yet

keep in mind this is all happening within a second or so
if the request is for a specific agent on that node, then it is much simpler and it sends a message to that specific agent, gets the response and sends it back
so the above is the simplified explanation of the {API JSON blackbox}

James
sr. member
Activity: 511
Merit: 250
Open and Transparent Science Powered By Blockchain
I've installed Supernet 2. How do I deposit coins there? Can't really find any info even from google how to do it.
newbie
Activity: 4
Merit: 0
legendary
Activity: 1428
Merit: 1000
sr. member
Activity: 448
Merit: 250
You can see InstantDEX in realtime and get the feel for it by visiting:

www.instantdex.net

Cheers!

damn looks so sweet, can't wait to start trading on it Smiley
legendary
Activity: 3486
Merit: 1126
We (frohike and me) are working on bringing phabricator.supernet.org back up, it has some problems atm. It is a very good issue tracker (and more), well suited for instantdex bug tracking.

This should be up already so people that find a bug(s) can log it and it be tracked and weighed for significance and bounty assigned.

Found a minor search bug, sleuth pushed fix already.  Order books disappearing but is known already?
legendary
Activity: 3486
Merit: 1126
You can see InstantDEX in realtime and get the feel for it by visiting:

www.instantdex.net

Cheers!
legendary
Activity: 1188
Merit: 1001
well said
and who can be the troubleshooter for supernet (message up) will receive 10000 metal coin
just for the help

You do know it started at $5 right?  Who cares if the reason was NXT got devalued, nobody off Bitcointalk has even heard of it anyway.  People price in $Fiat for a reason.


Utopian, you were so close to greatness (and financial support from powerful people too), but you blew it coz you're small minded and petty ... such a shame bro
legendary
Activity: 2310
Merit: 1000
Attention - 1000 Unity bounty for being InstantDEX trouble shooter

James needs people to find bugs in InstantDEX. It can't be launched until this is done. Trouble shooter required and a 1000 UNITY bounty for the person able to coordinate and decide whether bugs are significant. Trouble shooter needs to be able to create a reproducible sequence that shows the bug.

Please join SuperNET slack http://slackinvite.supernet.org/ and #testing-instantdex channel next for details

Cheers
sr. member
Activity: 939
Merit: 256
You do know it started at $5 right?  Who cares if the reason was NXT got devalued, nobody off Bitcointalk has even heard of it anyway.  People price in $Fiat for a reason.


Utopian, you were so close to greatness (and financial support from powerful people too), but you blew it coz you're small minded and petty ... such a shame bro
legendary
Activity: 826
Merit: 1000
amarha
You do know it started at $5 right?  Who cares if the reason was NXT got devalued, nobody off Bitcointalk has even heard of it anyway.  People price in $Fiat for a reason.


Bitcoin got devalued too you know. In November it was almost back around $400.
hero member
Activity: 756
Merit: 506
You do know it started at $5 right?  Who cares if the reason was NXT got devalued, nobody off Bitcointalk has even heard of it anyway.  People price in $Fiat for a reason.
sr. member
Activity: 396
Merit: 250
legendary
Activity: 924
Merit: 1000
Today is $3.4 with new crypto bubble coming soon (in my opinion).

Dunno...real bubbles come at the end of a bull market, not the beginning. The beginning often features a pseudo-bubble, which is really a snapback from the doomy-gloomy mood that prevails at the end of every bear market. It looks like a bubble because it overshoots, but the "bursting" - at worst - sends values back to where they were at the bottom of the bear.

But now that you mention the subject: given crypto-speed, we could see a real bubble next summer...
hero member
Activity: 492
Merit: 500
Just a random question, how many people have been holding UNITY since it was launched last year?

I have and will continue tot do so.
Increasing my investment on a daily basis Smiley

I only recently started buying. When unity/supernet came out I was betting bear markets in crypto to continue so stayed out. Are initial investors underwater in USD/BTC? Not sure what was ipo price?

ICO started at 0.01, and went till 0.0115.


I'm assuming the launch of the exchange should may be give better value to UNITY.


Edit: Btw, haven't seen james posting since a bit.....

He's very active on slack.

Thanks. My charts are missing that period only have cmc prices. So not bad time to get in. 0.01 back then with $500 btcusd was about $5 / unity. Today is $3.4 with new crypto bubble coming soon (in my opinion).
hero member
Activity: 1974
Merit: 502
Vave.com - Crypto Casino
Just a random question, how many people have been holding UNITY since it was launched last year?

I have and will continue tot do so.
Increasing my investment on a daily basis Smiley

I only recently started buying. When unity/supernet came out I was betting bear markets in crypto to continue so stayed out. Are initial investors underwater in USD/BTC? Not sure what was ipo price?

ICO started at 0.01, and went till 0.0115.


I'm assuming the launch of the exchange should may be give better value to UNITY.


Edit: Btw, haven't seen james posting since a bit.....
legendary
Activity: 924
Merit: 1000
Just a random question, how many people have been holding UNITY since it was launched last year?

I more-or-less have, and I've been buying small positions regularly with spare NXT I've scooped up. (Thanks, MMNXT & Nxttycoin!!)
Pages:
Jump to: