Pages:
Author

Topic: [ANN] SpreadCoin | True Decentralization (No Pools) | Testing New Masternodes - page 44. (Read 810096 times)

full member
Activity: 178
Merit: 100
Nodes That Serve
Just to give you something to chew on ... this is a very rough sketch of a thought experiment for an automated lottery that I don't yet know how to implement:

1. A global burn address is created and hard-coded into the app.
2. Wallet owners can send max(one) coin to the burn address, where it is irrecoverably lost.
3. Entrants are the list of the sending addresses of coins burned since the last draw.
4. Drawing occurs when prevBlock.nHeight mod 1440 == 0
5. Winners are the owners of the n addresses that are hex-within(prevblock.merklehash +/- a calculated range)
7. An amount of totalburnedcoins is added to the block reward.
8. totalburnedcoins - commission coins are paid to winning addresses in amounts according to a predetermined scale.
9. The house receives the predefined commission.

Even something as drop-dead simple as this is infeasible. As a distributed open source app, its cryptography is inherently pellucid, i.e. there's no opaque locus in which to vest control of a private key. It may be possible to model an opaque locus via a complex cryptography gavotte performed by Alice and Bob (and maybe Charles, if you're into that kind of thing). Or maybe the solution lies in recruiting the services of an oracle to take advantage of the opacity it provides --- at the cost of introducing potential exploit scenarios and of losing the protection provided by a 100% cryptography solution.


Cheers

Graham


Forgive me if I'm being dense, but there is no need surely to make the whole shebang decentralised. Could the example you gave be achieved by using the MN network as a consensus mechanism for choosing the locus/loci, then let that selected MN/those selected MNs do the things that need a central control point?

Much like Darksend - it's not really decentralised in terms of parallelism, it's just a method of sequential MN subset selection, the MNs selected do their bit discretely, the code for which they all possess and the data for which gets pulled from the network, then pass the process onwards until the result is achieved and subsequently broadcast to everyone.

The processing doesn't need to be completely distributed.

I was thinking along the same lines.

Include randomness to the processing so its harder to pinpoint which nodes do what and to some degree when.  But essentially an application initiated from, lets say inside the wallet, is broadcast to the servicenode network. Available servienodes are chosen at random to handle the service that is requested of them.

If you think about it, as mentioned before, Apple and Google started an app store and now they are trying to add mobile payments. With spreadcoin you have a currency and you are adding an app store.
legendary
Activity: 966
Merit: 1000
Just to give you something to chew on ... this is a very rough sketch of a thought experiment for an automated lottery that I don't yet know how to implement:

1. A global burn address is created and hard-coded into the app.
2. Wallet owners can send max(one) coin to the burn address, where it is irrecoverably lost.
3. Entrants are the list of the sending addresses of coins burned since the last draw.
4. Drawing occurs when prevBlock.nHeight mod 1440 == 0
5. Winners are the owners of the n addresses that are hex-within(prevblock.merklehash +/- a calculated range)
7. An amount of totalburnedcoins is added to the block reward.
8. totalburnedcoins - commission coins are paid to winning addresses in amounts according to a predetermined scale.
9. The house receives the predefined commission.

Even something as drop-dead simple as this is infeasible. As a distributed open source app, its cryptography is inherently pellucid, i.e. there's no opaque locus in which to vest control of a private key. It may be possible to model an opaque locus via a complex cryptography gavotte performed by Alice and Bob (and maybe Charles, if you're into that kind of thing). Or maybe the solution lies in recruiting the services of an oracle to take advantage of the opacity it provides --- at the cost of introducing potential exploit scenarios and of losing the protection provided by a 100% cryptography solution.


Cheers

Graham


Forgive me if I'm being dense, but there is no need surely to make the whole shebang decentralised. Could the example you gave be achieved by using the MN network as a consensus mechanism for choosing the locus/loci, then let that selected MN/those selected MNs do the things that need a central control point?

Much like Darksend - it's not really decentralised in terms of parallelism, it's just a method of sequential MN subset selection, the MNs selected do their bit discretely, the code for which they all possess and the data for which gets pulled from the network, then pass the process onwards until the result is achieved and subsequently broadcast to everyone.

The processing doesn't need to be completely distributed.
legendary
Activity: 2254
Merit: 1290
For SPR, the devs will need to give feedback on the framework to enable apps to plug into the servicenodes, when they are ready.

No plugins will be required per se, once a viable solution for the core problem is in sight ...

Obligatory prefatory admonishment: DYR, ofc.

https://en.bitcoin.it/wiki/Contracts

“Example 4: Using external state”

Quote
Scripts are, by design, pure functions. They cannot poll external servers or import any state that may change as it would allow an attacker to outrun the block chain. What's more, the scripting language is extremely limited in what it can do. Fortunately, we can make transactions connected to the world in other ways.

c.f. Early Temple project https://earlytemple.com:8181/

and also https://github.com/orisi/wiki/wiki/Mastering-Distributed-Oracles

Just to give you something to chew on ... this is a very rough sketch of a thought experiment for an automated lottery that I don't yet know how to implement:

1. A global burn address is created and hard-coded into the app.
2. Wallet owners can send max(one) coin to the burn address, where it is irrecoverably lost.
3. Entrants are the list of the sending addresses of coins burned since the last draw.
4. Drawing occurs when prevBlock.nHeight mod 1440 == 0
5. Winners are the owners of the n addresses that are hex-within(prevblock.merklehash +/- a calculated range)
7. An amount of totalburnedcoins is added to the block reward.
8. totalburnedcoins - commission coins are paid to winning addresses in amounts according to a predetermined scale.
9. The house receives the predefined commission.

Even something as drop-dead simple as this is infeasible. As a distributed open source app, its cryptography is inherently pellucid, i.e. there's no opaque locus in which to vest control of a private key. It may be possible to model an opaque locus via a complex cryptography gavotte performed by Alice and Bob (and maybe Charles, if you're into that kind of thing). Or maybe the solution lies in recruiting the services of an oracle to take advantage of the opacity it provides --- at the cost of introducing potential exploit scenarios and of losing the protection provided by a 100% cryptography solution.


Cheers

Graham
legendary
Activity: 1456
Merit: 1000
legendary
Activity: 1484
Merit: 1007
spreadcoin.info
-snip-
All the ideas for servicenodes and commercial exploitation are really fantastic. The network as an open decentralized app store is brilliant and something that cant be easily replicated by scam devs.



To further define servicenodes:

There will be two kinds of apps:

1) apps that require the servicenode network for the app to function. (distributed algorithms)
2) apps that are simply shared/sold/distributed by the servicenode network and that are being installed and run on the wallet-side only. (or maybe even as standalone programs for desktop/android etc...)
In this case the servicenodes merely act as app stores as we know them from google play and itunes etc...

We can even use the servicenode network to distribute the most recent wallets, and maybe even some official websites (in-wallet browser?)
legendary
Activity: 2912
Merit: 1091
--- ChainWorks Industries ---
-snip-
All the ideas for servicenodes and commercial exploitation are really fantastic. The network as an open decentralized app store is brilliant and something that cant be easily replicated by scam devs.



hahaha ... thats a classic ...

#crysx
legendary
Activity: 1456
Merit: 1000
-snip-
All the ideas for servicenodes and commercial exploitation are really fantastic. The network as an open decentralized app store is brilliant and something that cant be easily replicated by scam devs.

legendary
Activity: 1456
Merit: 1000
....

My problem is that some customers could use law to make service providers liable for all kinds of shit, all in the name of "customer protection".

Maybe we need to think about T&Cs - "It is your responsibility to comply with all local laws"

Absolutely, once servicenodes are active we are going to need a lot of disclaimers and agreements.


I'm usually pretty good with T&Cs for customer protection. I wrote some for a consumer product for a bank  Wink
legendary
Activity: 1484
Merit: 1007
spreadcoin.info
That's a fair point.

When I was reading through the detail of the bitlicences last year it struck me that the regulators were trying to create new rules when the old rules still worked.  

The UK approach to regulating crypto is currently on the basis that people are still responsible under existing laws regardless of what new technology is being adopted.

If I subscribe to a porn site (I don't, btw) the site is still responsible for providing the service. If I have a problem, I can still send them an email and complain.

If a customer is not happy, they still have the right to complain to the service provider. With the escrow model and a reputation system the subscription model could work better than existing options?

My fear is not that the users and service provides will not learn how to interact in a beneficial way towards each other... this will happen one way or the other, both with the help of reputation systems and the free market competition that will allow good actors to take away the customerbase from the bad actors.

My problem is that some customers could use law to make service providers liable for all kinds of shit, all in the name of "customer protection".

Maybe we need to think about T&Cs - "It is your responsibility to comply with all local laws"

Absolutely, once servicenodes are active we are going to need a lot of disclaimers and agreements.
legendary
Activity: 1456
Merit: 1000
The killer app - but unfortunately have no idea how to implement a subscription model - would be SpreadTor. Tor service offered by nodes, man that is a killer app

.....a subscription model.....

I think your idea of being able to have a subscription model regardless of what service is provided is actually pretty damn awesome.

I am not sure about the legal obligations (depends which country) someone has when offering payed services and/or subscriptions to a customerbase.

In some juristictions you (as a service provider) have to pay a customer his money back when he is not happy with your service.

It's a fact that many countries have insanely strict customer protection laws, and there will be customers who will abuse the system to their favour.

I am not sure what cryptocurrencies can do to circumvent this.



That's a fair point.

When I was reading through the detail of the bitlicences last year it struck me that the regulators were trying to create new rules when the old rules still worked.  

The UK approach to regulating crypto is currently on the basis that people are still responsible under existing laws regardless of what new technology is being adopted.

If I subscribe to a porn site (I don't, btw) the site is still responsible for providing the service. If I have a problem, I can still send them an email and complain.

If a customer is not happy, they still have the right to complain to the service provider. With the escrow model and a reputation system the subscription model could work better than existing options?

Maybe we need to think about T&Cs - "It is your responsibility to comply with all local laws"
legendary
Activity: 1484
Merit: 1007
spreadcoin.info
The killer app - but unfortunately have no idea how to implement a subscription model - would be SpreadTor. Tor service offered by nodes, man that is a killer app

.....a subscription model.....

I think your idea of being able to have a subscription model regardless of what service is provided is actually pretty damn awesome.

I am not sure about the legal obligations (depends which country) someone has when offering payed services and/or subscriptions to a customerbase.

In some juristictions you (as a service provider) have to pay a customer his money back when he is not happy with your service.

It's a fact that many countries have insanely strict customer protection laws, and there will be customers who will abuse the system to their favour.

I am not sure what cryptocurrencies can do to circumvent this.


PS: wow, since when does BTC allow you to change your avatar again?  Grin
legendary
Activity: 1456
Merit: 1000
...
but HOW? ...
...
#crysx

Optional Donations of Masternode Income

Udjin and I just wrote an extension that allows the masternode network operators to voluntarily sponsor initiatives. This is a super powerful feature, you can specify that a percentage of your earnings will be redirected to any other address. I imagine people will lobby for an initiative, then they will post an address in the forums, if masternode operators supports it, they could donate 30% of their income (or any other amount).

Examples include:

- Sponsoring an advertising campaign
- Sponsoring development
- Donating to the Darkcoin Foundation's address

Another benefit of utilizing the protocol for something like this is, when used a percentage of payments will bypass you, creating no taxation (you never controlled the money at all).
 
https://github.com/darkcoin/darkcoin/commit/70164b2d4c507669aea0043ccde19226f49aaabd

* This is 100% voluntary, we'll never require donations. This line here is just for testing and has already been removed: https://github.com/darkcoin/darkcoin/commit/70164b2d4c507669aea0043ccde19226f49aaabd#diff-345a95f756731b98ecccf4a05e6bd4e2R113

Forget the actual use in the above example, the fact that you can write an extension and ask masternodes, or servicenodes, to do various things is the starting point. So, what can't you ask a hosted server to do?

I read through the code on the github and it was quite interesting to see the queries to the masternodes.

For SPR, the devs will need to give feedback on the framework to enable apps to plug into the servicenodes, when they are ready.
legendary
Activity: 1456
Merit: 1000
The killer app - but unfortunately have no idea how to implement a subscription model - would be SpreadTor. Tor service offered by nodes, man that is a killer app

.....a subscription model.....

I think your idea of being able to have a subscription model regardless of what service is provided is actually pretty damn awesome.
full member
Activity: 194
Merit: 100
The killer app - but unfortunately have no idea how to implement a subscription model - would be SpreadTor. Tor service offered by nodes, man that is a killer app
legendary
Activity: 2912
Merit: 1091
--- ChainWorks Industries ---
....

lets just say servicenodes were to be implemented ... how do you envision it with regards to the functionality and 'plugability' to openbazaar? ...

#crysx

I have no idea  Grin

Let's take a punt.

If you are running an Open Bazaar shop, I take it you need to be running it off your local machine.

Run it off a ServiceNode and you can be anywhere in the world and still operate your business; get a third party service to do daily back-ups and otherwise make your new shop fully operational on the cloud - the internet of things even if all you are doing is selling second hand (but washed) condoms.

Add to that service providers that provide Tor and other cloak and dagger services and your little business can be kept operational without the wife every finding out (read, no pre nup required if your business takes off).

Looking at some of the details of the Open Bazaar project, they haven't actually figured out how to operate a decentralised escrow service, so that there is a reason to put both apps onto ServiceNodes.

But as the dog pic says, I have no idea what I'm doing.

ok - all good and well ...

but HOW? ...

im at wits end to fathom how these nodes are going to do that ...

am i missing something here? ... or is this all just a 'plan' and not a workable 'thing' ? ...

im a technical fella ... i 'fix' things - but moreso - i make them happen ... infrastructure and networks with linux and ( oh no ) windows ...

so what i am asking is not for the theory of things - but the nuts and bolts of them ... so i can lay them all out in front of me and go 'this goes here and this goes there and this needs to be fixed here and there' ...

btw - most of the apps / services / tests - are all run mainly internally as a test - then implemented ( even for production testing ) on aws servers ...

no prenup required Wink ...

#crysx
full member
Activity: 178
Merit: 100
Nodes That Serve
So if someone asks:

"What is a servicenode?"

What would be the most up-to-date answer to that?

I am still struggling to find a good definition.


Like an Apple App store or Google Play store, but anyone can run their own App store

But then this would imply that each app store sits on a single server.
That would not be very good from a decentralization standpoint.

I'd rather say that the whole network is a single open app store, no need to fragment it.
The fragmentation happens on the app level, not the store level.

Also, servicenodes will need to attract and support each others apps, so running your own unique app store is probably not a very inclusive thing, but rather exclusive towards other servicenodes.

hm....


All the ideas for servicenodes and commercial exploitation are really fantastic. The network as an open decentralized app store is brilliant and something that cant be easily replicated by scam devs.
sr. member
Activity: 406
Merit: 250
So if someone asks:

"What is a servicenode?"

What would be the most up-to-date answer to that?

I am still struggling to find a good definition.


Like an Apple App store or Google Play store, but anyone can run their own App store

But then this would imply that each app store sits on a single server.
That would not be very good from a decentralization standpoint.

I'd rather say that the whole network is a single open app store, no need to fragment it.
The fragmentation happens on the app level, not the store level.

Also, servicenodes will need to attract and support each others apps, so running your own unique app store is probably not a very inclusive thing, but rather exclusive towards other servicenodes.

hm....


Every person has the option to be a piece of a software puzzle. If a user wants to become a host to a service it then picks up a piece and becomes a small part of the big picture.
legendary
Activity: 1456
Merit: 1000
snip

Also, servicenodes will need to attract and support each others apps, so running your own unique app store is probably not a very inclusive thing, but rather exclusive towards other servicenodes.
...


You still need people to be able to upload their own content?

If others like it, they can elect to have it run on their nodes, and earn a share of the revenue.  

edit

for those that want to run a node but don't know how to, people using the network can offer a 'run a node for me' service, or they can use fractional ownership.
legendary
Activity: 1456
Merit: 1000
......

But then this would imply that each app store sits on a single server.
That would not be very good from a decentralization standpoint.

I'd rather say that the whole network is a single open app store, no need to fragment it.
The fragmentation happens on the app level, not the store level.

Also, servicenodes will need to attract and support each others apps, so running your own unique app store is probably not a very inclusive thing, but rather exclusive towards other servicenodes.

hm....



Decentralised App Store,

no central authority

Users decide if content is inappropriate

 Cool
legendary
Activity: 1484
Merit: 1007
spreadcoin.info
So if someone asks:

"What is a servicenode?"

What would be the most up-to-date answer to that?

I am still struggling to find a good definition.


Like an Apple App store or Google Play store, but anyone can run their own App store

But then this would imply that each app store sits on a single server.
That would not be very good from a decentralization standpoint.

I'd rather say that the whole network is a single open app store, no need to fragment it.
The fragmentation happens on the app level, not the store level.

Also, servicenodes will need to attract and support each others apps, so running your own unique app store is probably not a very inclusive thing, but rather exclusive towards other servicenodes.

hm....
Pages:
Jump to: