Bitcoin Forum
June 21, 2024, 03:47:35 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »
21  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: March 03, 2018, 05:01:18 PM
Dear node operators,

Please be so kind to do a STOP and RESTART of your HEAT nodes in order to force validate your blockchain.
By doing so you make sure your node is healthy and helps to keep the network healthy as well.

Thank you,

The HEAT Ledger dev team.


$$$ Ps. doing a rescan will most likely increase your block forging changes $$$
22  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: February 19, 2018, 10:26:34 PM

---------------------------------------------------

HEAT-SDK has had it 19th version update, version 0.10.0 of heat-sdk has been published tonight.

The main addition for 0.10.0 is browser and nodejs support for the new AVRO based Remote Procedure Call mechanism which in turn is how your browser/mobile/node app talks to the high speed transaction relay in HEAT server.
[using binary frames and websockets]

Quite technical but it comes down to a highly efficient method of sending data between HEAT server and your browser/mobile/node app.
Not alone is the data transfer much faster, the data is also optimized for consumption on the server allowing for much greater through put.

The benchmark competition is shaping up and this latest heat-sdk release plays a major role both in the browser and on the server.

Not used as such yet but still important;
- a major building block of microservices is the storage and communication of all sorts of structured data over the blockchain.
- this data needs to be flexible (you have to be able to change the structure, without breaking all microservices) and as dense (small in size) as possible.
- you need to 'work' with this data; 1. in your microservice itself, 2. from your browser/mobile client app, 3. from your business logic/server app.



These links are of interest to developers mostly

Docs: https://heat-ledger-ltd.github.io/heat-sdk/index.html
Github:
https://github.com/Heat-Ledger-Ltd/heat-sdk
https://github.com/Heat-Ledger-Ltd/heat-sdk/blob/master/README.md
Npm: https://www.npmjs.com/package/heat-sdk

This btw is how we declare AVRO types:
https://github.com/Heat-Ledger-Ltd/heat-sdk/blob/master/src/types.ts
on the server we use the same schemas to generate the Java code.
23  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: January 22, 2018, 07:17:31 PM
Short dev update here.

Just to give you an idea of whats going on behind the scenes.
 
As we know Svante has been out on a trip this week taking some well deserved rest from the past hectic year, yet still combining that with meetings with potential future HEAT partners and customers.
We'll hopefully be hearing from our refreshed HEAT CEO soon.

Meanwhile while Svante was enjoying his trip, we have been working on other parts.

As mentioned before, in networking whether thats inter-machine (peer 2 peer) but also user to machine (HEAT API - broadcast transactions and lookup of blockchain state [most recent trade, order, etc]) probably the biggest bottle neck is the encoding and decoding of messages. In HEAT and in some form at least every other cyptocurrency these messages are almost exclusively in JSON, which is very flexible but also very costly to decode and encode.

So there is this dilemma, JSON is flexible and simple to use but bloated and slow to process. And on the other hand you have binary data which is the most optimal/minimal representation of data and the absolute fastest to both encode and decode, but its not flexible at all. Binary data consists of a list of bytes (8 fields each consisting of a 1 or a 0), each field in your message following the last one.
Such binary data is super efficient and can speed up processing and transfer costs hundred folds depending on the exact data of course.

However once we hard code our client, heat-sdk, microservice message or heat server to handle this one specific data structure in this highly optimized list of bytes, well thats where it ends. Dont try and update the structure (add one field, or change a fields type) since thats a nightmare. Also you would have to write hard to both write and maintain code for each separate app that handles these complicated binary data, on top you have to hand code how to both read and write that data.

For us it became clear what we need here. Which is of course the flexibility of JSON but as optimized as pure binary data.
This is especially important when we want to start using structured messages to send to microservices, but having to store them on chain.
So that and other things simply have to be done efficiently, while interoperability is almost as important.


Well we've made progress, we're happy to yesterday have committed both the heat server implementation and with heat-sdk the universal impl which runs on your server, browser and mobile and which gives us a cross language, cross device binary encoding solution with the flexibility that JSON gives you. The schemas you need to share among two end points in order to read and write each others structured binary messages is actually JSON itself.

To get an idea of how we define these data structures you can already look in the development branch on the public heat-sdk repo, https://github.com/Heat-Ledger-Ltd/heat-sdk/blob/avro/src/types.ts.
The whole commit for the full thing can be seen here https://github.com/Heat-Ledger-Ltd/heat-sdk/commit/6808cafdd2d6f0eb6dca161f474ee5a4e7d44316?diff=unified.
The server code update also involved a RPC solution where you can communicate with heat server over a websocket but using a binary transport.

As mentioned on the bitcointalk thread before we did a test where we used a binary always open websocket connection and a set of pre-generated binary representations of transactions to be broadcasted and we found that we could already do 2000 transactions per second that way. That finally showed our custom storage backend being put to good use.

Well now we've completed the server code and formalized the mechanism and added support for server, mobile and browser cross device but compatible binary message transport, all through our heat-sdk.

We are writing tests for heat-sdk and plan to release what will be version 0.10 already so we can get to the long awaited 2000tps public test which will run from your browser.
After that microservices are up for finalization where this schema based binary protocol will play a key role in how we abstract both microservice invocations and the automatic generation of UI/forms to interact with microservices.

--

Our binary schemas are based on https://en.wikipedia.org/wiki/Apache_Avro, while on the server side we use the official java libs. In heat-sdk we' ve rolled our own implementation in part by extracting just the encode/decode parts from avsc js lib while making that one run in both the browser and in nodejs.
24  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: January 18, 2018, 07:26:48 PM
Anyone knowing 11883961337716096733? It seems I have been hacked and all my HEAT have been transferred to this account. Any suggestions what I can do now?
I wonder how this could happen. I was forging on my system at home. Incoming traffic to this machine was not allowed and I did not use the web wallet...

If your machine got hacked and it had your secretphrase you would normally have lost your HEAT, I say normally since this case seems special since its send to Cryptopia exchange which is controlled by a centralized entity... Cryptopia.

In your case I suggest you'd contact Cryptopia now and provide every detail you can in the hope that they freeze the thief his/her deposit and maybe even return it to you.

I've informed Eliphaz Fimk of your situation but since he's out of office we have to await his reply.

On a more general note:

HEAT private keys are not ever allowed out the client, there are stops in place that even prevent the secretphrase from ever being included in an API call.
Only exception here is when you call an API on the localhost address, only than can a secretphrase argument ever be included.

See here: https://github.com/Heat-Ledger-Ltd/heat-ui/blob/72c15acee4132ddef278eb9404e6bc860a0a8ca9/app/src/services/heat/HeatService.ts#L183

So there is 0% change the client ever send out your secretphrase.

From your comments it seems you have been using your secretphrase to mine HEAT on a VPS.

Now there are two ways of doing this [mining on a vps]

1. There is the 'old' (unsafe) way where you'd use 'real' secretphrase on your vps to call the startmining API command
2. There is the 'new' (safe) way where you one time lease your balance to a lease-only account and use the secretphrase for that leased account on your vps.
Now when someone gets access to that second secretphrase they cant touch the funds in the main account (sort of like a cold wallet)
25  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: January 12, 2018, 12:18:17 AM
HEAT now has 1,000,000 blocks!

Congrats everyone and thank you for your support!
26  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: January 11, 2018, 11:14:10 PM
Service Announcement

Dear community, we are so sorry we've had to put you through this awful period of having to use a Decentralized Asset Exchange and making you wait for one whole block to see any results.
We realize thats 2013 level DAX crap and hope to not ever see it again.

Just in time before HEAT hits block 1,000,000 we' re happy to announce that once again https://heatwallet.com and all Desktop wallets now have the instant order matcher, based on unconfirmed transactions enabled again.

So that means instant feedback in the Exchange is working again!

Thank you for your patience and happy trading  Wink

BTC/HEAT market: https://heatwallet.com/#/trader/5592059897546023466/0
27  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: January 11, 2018, 02:55:37 PM
Your secret phrase is probably whats wrong.
Try adding a space in front or at the end of your secret phrase, I remember that helped at least one user before.
28  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: January 11, 2018, 02:43:50 PM
Invalid asset transfer amount or asset: {"quantity":149000000000,"version.AssetTransfer":1,"asset":"0"}

Whats this?

Asset 0 doesnt exist.
Asset 0 is an internal identifier which means if we are talking in terms of assets, we mean the HEAT currency.

Where do you see that?

Edit:
Found where you get that. It seems the Transfer Asset dialog lists HEAT as an option for what Asset to transfer.
What you should do instead, when sending HEAT, is click on the Send Heat button in the toolbar which is one of the image buttons in the top left row of buttons.
29  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: January 11, 2018, 02:40:22 PM
We are testing the new Virtual matcher (real time order feedback - no need to wait for next block) on our testnet.

For anyone who wants to help test or just try it out, getting on testnet is easy.

To visit testnet go to https://heatwallet.com :

1. click the button in the top right corner
2. click the About Heat button in the expanded menu
3. in the About Heat dialog click the link that says "Go to testnet"
4. your page reloads and the top bar becomes green and says TESTNET, to go back follow the same steps

To get test HEATS just create a new account, every new account will receive 10 HEAT (these are TEST HEAT, they can not be spend on the main HEAT chain).

In the exchange are three markets, you can buy, sell cancel orders whatever.. It all helps.
30  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: December 28, 2017, 07:58:32 PM
HEAT WALLET 2.4.0 | Windows and Linux desktop

This desktop wallet release embeds the 2.4.0 server version which is a mandatory update. If your wallet does not use the built in server (default behavior of the wallet is to connect to a remote API node) you could still use that but you'll lack the client side (UI) improvements.

Note

The virtual order matcher (instant asset exchange order feedback) is still disabled, we are enabling that in the next wallet update. Because of this you have to wait until the next block (30 seconds) to see your balances updated and to see orders matched and trades made.

When the virtual order matcher is enabled we'll update the web based wallet on https://heatwallet.com and put out a new wallet release.

About the HEAT LEDGER 2.4.0 server

This is a hard fork, a mandatory update of the HEAT network. This update fixes a bug introduced in 2.1.0.

The hard fork will take effect at block 956000.

Nodes below 2.4.0 can not be used to forge in the main HEAT chain.

API Information

https://heatwallet.com/api/#/

HEAT SDK

https://www.npmjs.com/package/heat-sdk

Changes

  • Updated default properties to always perform a scan and validation on every startup.
  • Set remaining balance limit of 0.01 HEAT for ask orders of HEAT due to large number of accidental account drainings and subsequent asset withdrawal incapacity

Get it here

https://github.com/Heat-Ledger-Ltd/heatwallet/releases/tag/v2.4.0

Mac release will follow.
31  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: December 27, 2017, 06:38:45 PM
HEAT LEDGER 2.4.0 - MANDATORY UPDATE

HEAT LEDGER 2.4.0

This is a hard fork, a mandatory update of the HEAT network. This update fixes a bug introduced in 2.1.0.

The hard fork will take effect at block 956000.

Nodes below 2.4.0 can not be used to forge in the main HEAT chain.

API Information

https://heatwallet.com/api/#/

HEAT SDK

https://www.npmjs.com/package/heat-sdk

Changes

  • Updated default properties to always perform a scan and validation on every startup.
  • Set remaining balance limit of 0.01 HEAT for ask orders of HEAT due to large number of accidental account drainings and subsequent asset withdrawal incapacity

https://github.com/Heat-Ledger-Ltd/heatledger/releases/tag/v2.4.0
32  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: December 21, 2017, 08:05:42 PM
SERVER UPDATE

HEATLEDGER 2.3.2

We unfortunately introduced a bug in the previous 2.3.1 version basically making 2.3.1 incompatible with the last official guaranteed to work hard fork version 2.2.0 and its followup 2.3.0.

This version solves the problem where certain transactions could not be included in blocks forged by 2.3.1.

Apart from this fix we also fixed a bug in the display of transactions in the block explorer.

https://github.com/Heat-Ledger-Ltd/heatledger/releases/tag/v2.3.2

DESKTOP WINDOWS + LINUX UPDATE

HEAT WALLET 2.3.2

Contains heatledger server 2.3.2.

ABOUT HEATLEDGER 2.3.2

We unfortunately introduced a bug in the previous 2.3.1 version basically making 2.3.1 incompatible with the last official guaranteed to work hard fork version 2.2.0 and its followup 2.3.0.

This version solves the problem where certain transactions could not be included in blocks forged by 2.3.1.

Apart from this fix we also fixed a bug in the display of transactions in the block explorer.

We are working on an update that fully enables this great feature again, it will work even better and no longer interfere where it could cause forks to happen.

https://github.com/Heat-Ledger-Ltd/heatwallet/releases/tag/v2.3.2
33  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: December 19, 2017, 04:31:27 PM
HEAT WALLET 2.3.1 - UPDATE WINDOWS+LINUX DESKTOP

Contains heatledger server 2.3.1.

About Heat server 2.3.1

Highly advisory update.

Blacklists nodes below 2.1.0 which is similar to most previous release.

Fixes the display of crossed out or pending cancelled orders.
Should reduce the chance of forks by disabling the last remaining part of the virtual order matcher that is being refactored.

A blockchain scan will be performed on startup.

Note about virtual order matcher

Heat server 2.3.1 fixes forking issues on the network caused by what we call the virtual order matcher, this virtual order matcher gives us the reall-time feedback of orders matched and balances updated even when the transaction is still unconfirmed.

The virtual order has been disabled and is being moved internally so it can no longer affect the consensus mechanism. Because of this you have to wait for the next block (max 30 seconds) before you see your orders matched, cancelled or balances updated.

We are working on an update that fully enables this great feature again, it will work even better and no longer interfere where it could cause forks to happen.

https://github.com/Heat-Ledger-Ltd/heatwallet/releases/tag/v2.3.1
34  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: December 19, 2017, 03:48:45 PM
UPDATE NEW VERSION HEAT LEDGER 2.3.1

Highly advisory update.

Blacklists nodes below 2.1.0 which is similar to most previous release.

Fixes the display of crossed out or pending cancelled orders.
Should reduce the chance of forks by disabling the last remaining part of the virtual order matcher that is being refactored.

A blockchain scan will be performed on startup.

https://github.com/Heat-Ledger-Ltd/heatledger/releases/tag/v2.3.1
35  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: December 18, 2017, 02:07:59 PM
We all know about the limitations of Ethereum and Bitcoin and given the expected rise in adoption these problems will only increase.
To solve that is no simple task and can only be done through optimization of almost all aspects that make a cryptocurrency.

The progress mentioned was a great leap towards reaching that final goal.

And yet, Lightning Network developers claim it would enable up to millions of transactions per second, no?  Won't that render HEAT's "purist" on-chain scaling rather moot?  What's the use case for relatively "slow" on-chain scaling in such a future?


Lightning introduces some large parties to which we send all our funds. (introducing reliability on those parties)
Now we do all our transactions on the sub network between these large parties.
When needed the large parties will settle transfers between them on the bitcoin blockchain.

This leaves out the smaller parties to take part in the lightning network.
The success of Bitcoin has been the decentralization, adding centralization to it well thats basically what it is. Centralization.

No doubt one day HEAT will stop working on your average home PC and as with Bitcoin will require at least a decent internet size server with fast networking.

But with that in place I believe we are set and can have an on chain solution that does 10,000 or more txns a second and its still possible (encouraged even) for many hundreds or maybe thousands of nodes to take part in it. Sure it would cost you a few hundred a month on a decent server but POP (rewards for hosting of previous block archived) will reward you, how much that depends on the price of HEAT.

With that in place I do see a use case for HEAT which does the fast transactions and the massive storage divided over possibly many terrabytes of blockchain choped in pieces.

That last part is not what lightning offers.

And speaking of lightning, that actually needs a way to offload these lightning transactions. The HEAT blockchain could one day be great for such.

Edit:

As an addition to that, in order to operate your microservices you need to either run them on your own node or have them hosted on a node that is plugged into the transaction stream. If you'd ask me HEAT's real impact will be the way microservices allow anyone to operate cheap, fast and bank grade secure financial services all by themselves.

So as for the question what is the point of HEAT when there is Lightning network?
Well lightning doesnt provide the data stream for our microservices now does it!  Cool
36  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: December 18, 2017, 11:24:02 AM
Why isn't this coin valued at $1B or higher???

No hype.  And the obsessed dingleberry's ongoing FUD (which has been going on for literally years).

I've never seen a project with such persistent fudders. Literally hundreds of posts buy 1 to 3 different people. It's like they have nothing better to do. I kind of hope they are fussing so that they can accumulate more, otherwise.. I would question their use of time.

Thats quite easy to explain: Usually fudders are not serious about their topics. They lie to manipulate the price.
In the case of HEAT, I absolutely believe in the righteousness of the cause.

Take the newest example. Yes, sure, there is progress. But I still fail to see its usefulness. Care to explain it? I asked a simple question...will it be applicable to a decentralized network and if so, by how much will it increase the tps?

So sorry, missed that simple question.

Yes absolutely it applies to a decentralized network (as in spanning the globe over the internet), that has been the whole point all along.

Please also ignore the baseless fud being thrown around.

HEAT's promise of a cryptocurrency that does 1000tps on cheap servers and user PC's is still what we are building towards.

We all know about the limitations of Ethereum and Bitcoin and given the expected rise in adoption these problems will only increase.
To solve that is no simple task and can only be done through optimization of almost all aspects that make a cryptocurrency.

The progress mentioned was a great leap towards reaching that final goal.
37  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: December 17, 2017, 07:32:59 PM
https://heatwallet.com is back online and fully functional.
Server update 2.3.0 seems to have done the trick.


38  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: December 17, 2017, 06:14:51 PM
HEAT LEDGER 2.3.0 - BUG FIX

Heatledger 2.3.0

This is an optional server upgrade meant for forging nodes.
This upgrade fixes a bug encountered when we combine the virtual order matchers and forging blocks on the same machine.

Nodes below 2.1.0 will automatically be blacklisted with this version.

On startup a scan and validation of the blockchain will be performed one time, this happens automatically.

Because of the nature of the bug and this version being meant for server forging use, we have disabled both the virtual order matcher and the virtual account balances.
What this means is that if you use this server version to power a HEAT client you will have to wait for the next block before you see things in the client like balance updates, orders, order quantity updates, order cancelled status.

The virtual features will return in a next release together with the option to completely disable this for servers that are not used to power a full client. This saves resources when disabled.

https://github.com/Heat-Ledger-Ltd/heatledger/releases/tag/v2.3.0
39  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: December 15, 2017, 10:34:51 PM
Hi,

I'd like to address some questions about the specifics of the `2000 tps` test.

Lets start with the specs of the PC mentioned before, the one on which the test was performed;

This would be my daily work horse PC:

   OS: Ubuntu 16.x
   RAM: 16GB
   CPU: Intel Core i5
   HD: 500GB SSD

Now about the test setup.

The HEAT server tested actually runs in my Eclipse Java IDE, this as opposed to running running HEAT server from the command line (its own JVM).
Running in Eclipse IDE, and in our case in DEBUG mode is quite the limiting factor i've experienced.
Running HEAT from the command line does not have the burden of also having to run the full Eclipse Java IDE coding environment as well as who knows what Eclipse is doing with regards to breakpoints and all and being able to pauze execution and all.

We have not yet tested this while HEAT runs from the command line, I expect it to be quite faster in that case.

Now about the websocket client app.

With the help of our newly beloved AVRO binary encoding stack we have been able to generate, sign and store to a file our 500,000 transactions. This process takes a while, a few minutes at least. But I dont think this matters much since in a real-life situation with possibly 100,000s of users the cost of creating and signing the transactions is divided over all those users.

The client app was written in Java and opens a Websocket connection to the HEAT server, since both are running on the same machine we would use the localhost address.

Now you might say; "Hey! wait a minute. Isn't localhost really fast? Isn't that cheating?"

The short awnser.. "No! And you might fail to understand what's important here."

While its absolutely true that localhost is much faster than your average external network, what should be obvious here is what levels of bandwidth we are talking about. I suppose anyone reading this has downloaded a movie before, be that over torrent or maybe streamed from the network. Well there is your proof that testing this over localhost has zero meaning here.

Your PC while downloading a movie or the youtube server streaming to you and probably 1000s of others the most recent PewDiePie video will process MUCH MUCH more data than our little test here.

One transaction in binary form is about 120 bytes in size, times 2000 and you'll need a network that has to support 240KB data transferred a second. Not sure what internet connections are normal in your country, but it seems here in Holland we can get 400Mbit connections straight to our homes, talking about standard consumer speeds here (looked it up just now).

To put that in perspective, 240KB a second is about 1/200th the amount of bandwidth you get with your 400Mbit(50MB) connection. You should understand by now that the network is not the bottle neck, its the cryptocurrency server.



So whats so special about HEAT you might ask, why does HEAT what HEAT can do?

Well for that you'd have to dive into the source code of our competitors, be them Waves, Lisk, NEM, IOTA, NXT etc.. Just this afternoon I've taken a look at IOTA source code, which is something thats always interesting (did the same with the others mentioned).

But I can tell you right now that none of the other currencies (Waves, Lisk, NEM, IOTA, NXT etc) will be able to reach similar speeds as HEAT has now shown it can.

Why I can claim this is pretty simple.

Cryptocurrencies, all of them basically (blockchain or tangle makes no difference here), all follow a similar internal design. And all of them need to store their; balances, transactions, signatures, etc etc... and they all use different databases to do so.

Some like NXT use the most slowest of all solutions which is a full fledged SQL database, others have improved models optimized for higher speed in the form of key/value datastores. IOTA today i've learned uses rocksdb, Waves is on H2's key value store, Bitcoin is on leveldb etc.

Afaik HEAT is the only one that does not use a database. Instead we've modeled our data in such a way that it can be written to a Memory Mapped flat file, which is how we store blocks and transactions. Our balances are kept all in memory and to support on-disk persistence we use https://github.com/OpenHFT/Chronicle-Map as our memory/on-disk hybrid indexing solution.

If you'd look at ChronicleMap's website you'll see that they: "Chronicle Map provides in-memory access speeds, and supports ultra-low garbage collection. Chronicle Map can support the most demanding of applications." Oh and did I mention this grew from the needs of HFT trading systems be faster than anything else available?



Anyways..

The next test is gonna be even cooler. We'll be hosting the single HEAT instance which will be forging blocks on a nice and powerfull machine, much faster than my PC, probably something with 64GB RAM and perhaps some 32 or 64 cores.. My estimate is that we can push the TPS to much higher levels on such a server.

Right now we are adding binary AVRO encoding support to HEAT-SDK and after that we'll release one of those samples we used to do a month or so ago with which you can fire transactions from your browser to our test setup. I bet that'll be fun.

- Dennis

I think you fail to see that testing all of this on a single server is absolutely useless. Yes you can improve transactions throughput to 2000tps by improving the software, yes you can do it by improving the hardware. But all of this only affects the single nodes speed, BUT all of this will not improve the consensus algorithm and you will not end up having a decentralized BLOCKCHAIN that can do 2000tps, all you get is a centralized database that can do 2000 database operations per second. Basically what you guys are doing is useless as you don't get a faster network and others don't even need your faster software. xD Soon Ethereum will release sharding and probably have more tps over a REAL NETWORK and you guys will still test your 2000tps on a single node.

The one who is failing to see things here is I you I'm afraid.

Before you can do any number of transactions over a peer 2 peer network you first need to feed those transactions (over a network) to a single peer and process them there... The single peer actually does the "consensus algorithm" internally already, also in our test, it works the same if you generate a block or if you receive one from the network. Receiving from the network actually being cheaper to process. So thats the first part where you are wrong. 

I fully admit in my first post that work has to be done to the p2p  code before peers can share blocks and transactions over the p2p network at those speeds.
But unlike what we achieved now, that second step is a rather simple problem to solve.

As for this combination: ETHEREUM + SHARDING + SOON.

This depends on your definition of SOON, sharding is a really hard problem and to apply that to a live blockchain worth billions. Basically doing the hard fork of all hard forks, rewriting the entire blockchain in the process. Also they have not agreed yet on what sharding on Ethereum should look like.

So its safe to say you are wrong there to.
40  Alternate cryptocurrencies / Announcements (Altcoins) / Re: HEAT Discussion and Technical info on: December 14, 2017, 06:17:28 PM
Hi,

I'd like to address some questions about the specifics of the `2000 tps` test.

Lets start with the specs of the PC mentioned before, the one on which the test was performed;

This would be my daily work horse PC:

   OS: Ubuntu 16.x
   RAM: 16GB
   CPU: Intel Core i5
   HD: 500GB SSD

Now about the test setup.

The HEAT server tested actually runs in my Eclipse Java IDE, this as opposed to running running HEAT server from the command line (its own JVM).
Running in Eclipse IDE, and in our case in DEBUG mode is quite the limiting factor i've experienced.
Running HEAT from the command line does not have the burden of also having to run the full Eclipse Java IDE coding environment as well as who knows what Eclipse is doing with regards to breakpoints and all and being able to pauze execution and all.

We have not yet tested this while HEAT runs from the command line, I expect it to be quite faster in that case.

Now about the websocket client app.

With the help of our newly beloved AVRO binary encoding stack we have been able to generate, sign and store to a file our 500,000 transactions. This process takes a while, a few minutes at least. But I dont think this matters much since in a real-life situation with possibly 100,000s of users the cost of creating and signing the transactions is divided over all those users.

The client app was written in Java and opens a Websocket connection to the HEAT server, since both are running on the same machine we would use the localhost address.

Now you might say; "Hey! wait a minute. Isn't localhost really fast? Isn't that cheating?"

The short awnser.. "No! And you might fail to understand what's important here."

While its absolutely true that localhost is much faster than your average external network, what should be obvious here is what levels of bandwidth we are talking about. I suppose anyone reading this has downloaded a movie before, be that over torrent or maybe streamed from the network. Well there is your proof that testing this over localhost has zero meaning here.

Your PC while downloading a movie or the youtube server streaming to you and probably 1000s of others the most recent PewDiePie video will process MUCH MUCH more data than our little test here.

One transaction in binary form is about 120 bytes in size, times 2000 and you'll need a network that has to support 240KB data transferred a second. Not sure what internet connections are normal in your country, but it seems here in Holland we can get 400Mbit connections straight to our homes, talking about standard consumer speeds here (looked it up just now).

To put that in perspective, 240KB a second is about 1/200th the amount of bandwidth you get with your 400Mbit(50MB) connection. You should understand by now that the network is not the bottle neck, its the cryptocurrency server.



So whats so special about HEAT you might ask, why does HEAT what HEAT can do?

Well for that you'd have to dive into the source code of our competitors, be them Waves, Lisk, NEM, IOTA, NXT etc.. Just this afternoon I've taken a look at IOTA source code, which is something thats always interesting (did the same with the others mentioned).

But I can tell you right now that none of the other currencies (Waves, Lisk, NEM, IOTA, NXT etc) will be able to reach similar speeds as HEAT has now shown it can.

Why I can claim this is pretty simple.

Cryptocurrencies, all of them basically (blockchain or tangle makes no difference here), all follow a similar internal design. And all of them need to store their; balances, transactions, signatures, etc etc... and they all use different databases to do so.

Some like NXT use the most slowest of all solutions which is a full fledged SQL database, others have improved models optimized for higher speed in the form of key/value datastores. IOTA today i've learned uses rocksdb, Waves is on H2's key value store, Bitcoin is on leveldb etc.

Afaik HEAT is the only one that does not use a database. Instead we've modeled our data in such a way that it can be written to a Memory Mapped flat file, which is how we store blocks and transactions. Our balances are kept all in memory and to support on-disk persistence we use https://github.com/OpenHFT/Chronicle-Map as our memory/on-disk hybrid indexing solution.

If you'd look at ChronicleMap's website you'll see that they: "Chronicle Map provides in-memory access speeds, and supports ultra-low garbage collection. Chronicle Map can support the most demanding of applications." Oh and did I mention this grew from the needs of HFT trading systems be faster than anything else available?



Anyways..

The next test is gonna be even cooler. We'll be hosting the single HEAT instance which will be forging blocks on a nice and powerfull machine, much faster than my PC, probably something with 64GB RAM and perhaps some 32 or 64 cores.. My estimate is that we can push the TPS to much higher levels on such a server.

Right now we are adding binary AVRO encoding support to HEAT-SDK and after that we'll release one of those samples we used to do a month or so ago with which you can fire transactions from your browser to our test setup. I bet that'll be fun.

- Dennis
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!