realcr
Joined 12 years ago
Joined 12 years ago
So much has changed, but I believe the easy solution already existed back then. As people wrote in the comments here, one can iterate over an Option and then use flatten.
Strange experience indeed.
Will I be able to use console or part of it with the rest of the rust async ecosystem? (for example, async-std or futures-rs), Or is is Tokio specific?
- Generally I found that overlay DHT based routing is not very scalable for large graphs. It performs well for random looking graphs, but becomes very inefficient for large planar-like graphs. If pinecone is designed for small local networks, it might work well, but it will probably not scale well to large networks with the current design.
- With a small local hack to the Chord network, it is possible to achieve eventual connectivity, see here: https://www.freedomlayer.org/articles/chord_connected_routin...
Other pieces can be found here: https://www.freedomlayer.org/research/ Of special importance are the experiments performed to large networks, which can be found on this page: https://www.freedomlayer.org/research/landmarks-lookahead/
If anyone from the matrix team is reading this, I will be happy to help if any help if needed.
I am not sure whether https://settlenetwork.com is actually affiliated with the original settle.network written by spolu.
About the default servers, I always have the fear the system will become too centralized, so I tried to force the user to understand he can pick any server he wants. Maybe I am wrong here, this needs some extra consideration.
About the other defaults that seem convoluted: I picked those due to security considerations, but maybe you are correct, and it is better to leave things open by default there.
If you are interested in reviewing the next versions before they are published, please stay in touch. You can send me an email directly or join the mailing list if you like.
Ah, this was a concern I had too. To mitigate it, Offset allows paying using a multi-path: a few paths together. It happens atomically, and doesn't require intervention from the user.
One thing you can do is open two Offset cards on your own mobile phone, and try to pay with one card to the other (:
For your questions:
> What if a bunch of people are offline and no path can be found?
If no path can be found, the transaction will fail. This is truly a weak point of Offset. I have been thinking about this for a while myself, here are the possible solutions:
1. Currently Offset takes a lot of battery to use (because of communication). Maybe in the future battery won't be a problem for mobile phones. In that case people will stay online and connected most of the time. The incentive might be to make money through fees.
2. Maybe some people will decide to be "hubs", and always be online. Offset has a desktop application too (though a CLI based at this time). You can run it as a server, so that it always online.
> Do you imagine certain nodes trying to become "hyperconnected" so that they may connect as many people as possible, and earn fees from providing this service?
Maybe. But I hope that there will always be enough competition, so that people will be able to find cheap enough routes.
> What algorithm do you use to compute the shortest/cheapest be path between two counterparties?
Currently, a very lousy algorithm, the most basic thing that works. This part really needs some work. My idea is that every index server could implement his own magic thing, and you could pick whatever index server you like.
> Does this scale well in a distributed, self-hosted system?
I think it does. Not sure that with the current implementation, but it might with some improvements.
> How does one establish a friendship/trust with another party,
Check the video, I show this one!
> and who sets the credit limits for the relationship?
Each party gets to pick one credit limit. If A and B have a relationship, A gets to choose how much B can ever owe A, and B can choose how much A can ever owe B. To summarize: You get the choose how a maximum cap for your fortune.
> why wouldn't this model eventually end up with banker-type people managing the credit for everyone?
I thought about this question for a long time myself. As a first note, I don't think Offset should completely replace the traditional banking system. Everything has its place in the world. I admit that I still use my bank account daily.
If I understand correctly, your concern is that Offset might eventually become centralized, and therefore will return to the starting point: the banking system that we have today. I have some thoughts about this:
1. I believe that technology like Offset gives very convenient tools to make payments work in a decentralized way. It takes about three "bash" lines to set up an Offset node in the cloud, and you have your own credit hub. I agree that it takes a certain amount of credibility to open a credit hub, but I still believe it makes things much easier than opening your own bank nowdays.
2. There is this idea of 6 degrees of separation, where every two people in the world probably have a chain of friends between them that is of length no more than 6. If things actually work this may, it might be possible to pay using Offset without relying on central hubs.
There are two caveats to this idea though: (a) Currently Offset clients on mobile phones will eat your battery if you keep them open for too long. (b) You might not be able to make very large payments through the credit limits you set with your friends. Most people will trust their bank with $50000, but most people will not trust their friends with this amount of money.
About issue (a): Maybe it is temporary, and in 5 years we won't have these kind of battery limitations. For (b), I'm not sure yet myself. Maybe you will always need credible credit hubs to be able to make large payments.
3. Even if Offset becomes more centralized, based on a few credit hubs, I think that it is still better in some ways than the current ways banks work. (though note that I might be biased here).
a. Your money will be protected from inflation caused by state money printing.
b. Not much regulation is required, because the nature of Offset doesn't allow the "credit hubs" to do things like play with your money, generate new money through loans and more. More than that: Offset always provides the end user with a cryptographic proof about the amount of money in his account.
c. I expect that fees with Offset will be much lower than what you get with your banks.
d. It is easy to create Offset hubs, so there will always be competition.
e. Money will move through an auditable open protocol.
Offset is still pretty young and I am very far from having answers to everything. If you think something is still missing, please send a message.