Bitcoin Forum
November 03, 2024, 05:40:42 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 7 »  All
  Print  
Author Topic: SpreadCoin - Masternodes Testing  (Read 5368 times)
Mr. Spread (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
January 27, 2015, 04:46:54 PM
Last edit: January 27, 2015, 04:58:31 PM by Mr. Spread
 #1

This is the thread for testing SpreadCoin masternodes. All the testing will happen on testnet.
Main thread: https://bitcointalk.org/index.php?topic=715435
Forum: http://spreadcointalk.org/

Download
Windows: http://spreadcoin.net/mn/SpreadTestCoin32.7z
Source: https://github.com/spreadcoin-project/spreadcoin/tree/mn-test (be sure to build from the mn-test branch)
You can safely launch it together with mainline SpreadCoin wallet, it works like a different coin. Default datadir for this modified coin is spreadtestcoin.

Testing
Wait for cennecting to peers and synchronization and then start mining with one thread using built-in miner. Initial difficulty is 1/1000 that of SpreadCoin so you can take part in this instamine. Don't start mining before synchronizing with the network.

To start a masternode send yourself at least 100 SPR and wait for 50 confirmations, then go to masternodes page and start your masternode. If you don't have anough coins then post your address in this thread and I will send you some coins.

SpreadCoin Masternodes
All the numbers in this post describe testnet, they can change when we will introduce masternodes to mainnet.

The following terms are used in this text:
Node - any full (i.e. SpreadCoin-Qt or spreadcoind), not lightweight (like the one running on Android) node.
Masternode - node which has some locked money amount and performs some additional actions (provides additional services).

Is SpreadCoin implementation based on DarkCoin?
No, this is original implementation.

How is it different from DarkCoin?
In SpreadCoin there are no centralized reference nodes to decide which masternodes should receive payments, it is decided by the network in decentralized maner. In DarkCoin the messages which select masternodes are separate from the blockchain and are distributed independently. This way it is possible that nodes will have different opinion on what masternode should receive next payment. In SpreadCoin all votes for masternodes will be stored in blocks and the payee will be uniquely determined from the previous blocks. Just like you can check that any transaction included in the block is correct by comparing its inputs with outputs in previous blocks you will be able to check that masternode payment is correct by checking previous blocks. Why bitcoin is so reliable? Because all nodes have exactly the same rules how to determine which blockchains are correct and which one is better (required more work) than others, these rules are only depended on blocks themselves, not on the order in which they were received them nor on any other messages which you may or may not receive in time. The network can be unstable in the case of some major event which will break connectivity between nodes but once connectivity between nodes is reestablished all nodes will stick to the same blockchain. The same will apply to SpreadCoin.

How masternodes are elected?
Each node monitor the network and assign scores to each masternode. This scores depend on how well masternodes provide their services, for instant transactions this will be time delay between transaction and its confimation by masternode. Since there may be no transactions and only elected masternodes will confirm transactions there is an empty service - each masternode will broadcast messages signining certain blocks to prove that it is running. Miners will include votes in their blocks. Votes can either be positive (elect not yet elected masternode) or negative (deelect already elected masternode). If masternode has more than 30 positive votes in the last 60 blocks then it is added to the list of elected masternodes. If masternode has more then 30 negative votes in the last 60 blocks then it is removed from the list of elected masternodes. Note that it is possible to determine which masternodes were elected at each particular block.

Can miners cheat to elect their own masternodes?
The system is designed in such a way that all miners will make almost the same votes. Thus, unless you control more than 50% of the hashrate you couldn't actually affect the voting process because you will be outvoted by the rest of the network.

Wouldn't storing votes in blockchain make it too large?
No, there is a limit of 10 votes per block and most blocks will have less votes.

How will masternodes receive payments?
In each block part of the reward (30%) will go to masternode instead of the miner. Elected masternodes are sorted according to their identifiers and receive payments in order, there is no randomness in this process. Since it is possible to uniquely determine which masternodes are elected solely from the blockchain it is also possible to uniquely determine which masternode should receive the payment, nodes cannot disagree on this.

How much SPR is required to run a masternode?
There is a limit of 1000 masternodes, only masternodes with top 1000 amounts will be elected to receive payments, therefore the exact amount you will need to lock will be determined by the market. This amount is locked but it is still yours, when you don't want to run your masternode anymore you can spend it.

Is static IP required to run a masternode?
It is not required and for instant transactions this is not necessary.

What is instant transaction?
It is a transaction which is confirmed by masternodes within seconds after broadcasting. Once confirmed there is guarantee that this transaction (and not any conflicting one) will be included in the blockchain.

What is the state of instant transactions implementation in SpreadCoin?
Most effort was put into developing masternode election/payments mechanism, instant transactions are currenrly not fully implemented. Although masternodes confirm them there is no logic in place to replace unconfirmed transactions with the confirmed ones in the case of double spending attacks and to reject blocks with conflicting transactions. Note that rejecting blocks based on whether or not it includes transactions which conflict with confirmed instant transactions can lead to forks but this can be solved.

Which transactions can be made instantly?
Currently these are all transactions with less than 15 inputs and fee of at least 0.001 SPR per input.

Developer of SpreadCoin
thelonecrouton
Legendary
*
Offline Offline

Activity: 966
Merit: 1000


View Profile
January 27, 2015, 05:00:21 PM
 #2

Sounds promising! I wasn't expecting IX to be along in any shape at all yet. Smiley
MyFarm
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1000


View Profile
January 27, 2015, 05:01:10 PM
 #3

Installed but I'm not connecting to any peers yet.  Anyone else?
Mr. Spread (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
January 27, 2015, 05:02:19 PM
 #4

I have onetwo connection

Developer of SpreadCoin
MyFarm
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1000


View Profile
January 27, 2015, 05:03:24 PM
 #5

Can I have more than one masternode if I have two computers with unique installs?
MyFarm
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1000


View Profile
January 27, 2015, 05:03:51 PM
 #6

One of my computers is synced and mining successfully.  Will start a masternode once my coins mature.
Mr. Spread (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
January 27, 2015, 05:04:12 PM
 #7

Can I have more than one masternode if I have two computers with unique installs?
You can have several masternodes on one computer

Developer of SpreadCoin
Mr. Spread (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
January 27, 2015, 05:06:52 PM
 #8

Do you see my masternode with address mhkGXCb2GU4apUGvjKKxBPevAZ2HWKRCeD and amount 15000 in the list of masternodes?

Developer of SpreadCoin
MyFarm
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1000


View Profile
January 27, 2015, 05:07:35 PM
 #9

Got my second computer to sync after closing my mainnet spreadcoin wallet and restarting my testnet wallet.  Not sure if part one of this matters.
MyFarm
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1000


View Profile
January 27, 2015, 05:07:48 PM
 #10

Do you see my masternode with address mhkGXCb2GU4apUGvjKKxBPevAZ2HWKRCeD and amount 15000 in the list of masternodes?
Yes.
minerpage
Sr. Member
****
Offline Offline

Activity: 268
Merit: 250



View Profile
January 27, 2015, 05:09:02 PM
 #11

Do you see my masternode with address mhkGXCb2GU4apUGvjKKxBPevAZ2HWKRCeD and amount 15000 in the list of masternodes?

Yes, it's in there....
MyFarm
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1000


View Profile
January 27, 2015, 05:09:48 PM
 #12

Will you send 100 SPR to mgNJUWE2NwcyB1ewHaSP9yueABwmJM9Rx9 and a larger amount to mzb6NQQzg58zwNvG3i4kQSNmVLs821JAT7
Mr. Spread (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
January 27, 2015, 05:10:27 PM
 #13

To launch your own masternode you will need to send to yourself at least 100 SPR. If you don't have that much publish your address and I will send to you.

Developer of SpreadCoin
minerpage
Sr. Member
****
Offline Offline

Activity: 268
Merit: 250



View Profile
January 27, 2015, 05:12:31 PM
 #14

To launch your own masternode you will need to send to yourself at least 100 SPR. If you don't have that much publish your address and I will send to you.

mmVPHTHRywYYpFt3XNmkPhwdYE2QLewbrh
MyFarm
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1000


View Profile
January 27, 2015, 05:14:47 PM
 #15

I sent 200.1 to myself and this happened.  Just making sure it is correct that I sent 0.00 to myself:

GilAlexander
Member
**
Offline Offline

Activity: 68
Merit: 10


View Profile
January 27, 2015, 05:15:12 PM
 #16

To start a masternode send yourself at least 100 SPR and wait for 50 confirmations, then go to masternodes page and start your masternode.
How to start? It appears itself with 500spr.
komdo
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
January 27, 2015, 05:15:45 PM
 #17

need 100 SPR for testnet mmux8A6n2988bev37bHhQc69t9M9bp6WTo   
MyFarm
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1000


View Profile
January 27, 2015, 05:15:47 PM
 #18

Do you guys see my masternode with 200.1 in your list?
MyFarm
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1000


View Profile
January 27, 2015, 05:16:54 PM
 #19

Looks like our first masternode was just elected.
minerpage
Sr. Member
****
Offline Offline

Activity: 268
Merit: 250



View Profile
January 27, 2015, 05:17:11 PM
 #20

I sent 200.1 to myself and this happened.  Just making sure it is correct that I sent 0.00 to myself:



Similar here... 0 amount...
Pages: [1] 2 3 4 5 6 7 »  All
  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!