Commit graph

95 commits

Author SHA1 Message Date
Doyle fb66b7e00b Service Node Deregister Part 5 (#89)
* Retrieve quorum list from height, reviewed

* Setup data structures for de/register TX

* Submit and validate partial/full deregisters

* Add P2P relaying of partial deregistration votes

* Code review adjustments for deregistration part 1

 - Fix check_tx_semantic
 - Remove signature_pod as votes are now stored as blobs. Serialization
   overrides don't intefere with crypto::signature anymore.

* deregistration_vote_pool - changed sign/verify interface and removed repeated code

* Misc review, fix sign/verify api, vote threshold

* Deregister/tx edge case handling for combinatoric votes

* core, service_node_list: separated address from service node pubkey

* Retrieve quorum list from height, reviewed

* Setup data structures for de/register TX

* Submit and validate partial/full deregisters

* Add P2P relaying of partial deregistration votes

* Code review adjustments for deregistration part 1

 - Fix check_tx_semantic
 - Remove signature_pod as votes are now stored as blobs. Serialization
   overrides don't intefere with crypto::signature anymore.

* deregistration_vote_pool - changed sign/verify interface and removed repeated code

* Misc review, fix sign/verify api, vote threshold

* Deregister/tx edge case handling for combinatoric votes

* Store service node lists for the duration of deregister lifetimes

* Quorum min/max bug, sort node list, fix node to test list

* Change quorum to store acc pub address, fix oob bug

* Code review for expiring votes, acc keys to pub_key, improve err msgs

* Add early out for is_deregistration_tx and protect against quorum changes

* Remove debug code, fix segfault

* Remove irrelevant check for tx v3 in blockchain, fix >= height for pruning quorum states

Incorrect assumption that a transaction can be kept in the chain if it could
eventually become invalid, because if it were the chain would be split and
eventually these transaction would be dropped. But also that we should not
override the pre-existing logic which handles this case anyway.
2018-07-18 12:42:47 +10:00
jcktm 8a92407f5f
servicenodes: Added service node list 2018-06-29 14:47:00 +10:00
jcktm 51dbdfa34b config - added testnet genesis tx to cryptonote_config 2018-05-05 17:08:55 +10:00
Doyle 9262a5c14b Update config (#50)
* Reduce mining block unlock time to 1 hour (#19)

* Reduce block unlock time to 1 hour

* Change to release version

* Update cryptonote_config.h

* Update net_node.inl

* Fix genesis and netid values
2018-05-03 12:49:06 +10:00
jcktm 7ad28126e5 cryptonote_config - changed ports 2018-05-01 15:37:25 +10:00
jcktm 1b1c2b479a cryptonote_config - added mainnet genesis tx 2018-05-01 14:33:33 +10:00
Haafingar 9a730c2ca4
Final Stagenet values 2018-04-30 15:05:24 +10:00
jcktm a47fc4bbaf cryptonote_config - redo stagenet genesis tx 2018-04-30 14:20:52 +10:00
jcktm f8bef95c67 cryptonote_config - changed stagenet gov. wallet and premine address to multisig 2018-04-30 13:24:02 +10:00
Haafingar 485d7f02c5
Reduce mining block unlock time to 1 hour (#19) (#41)
* Reduce block unlock time to 1 hour
2018-04-30 10:21:23 +10:00
jcktm fa45217151 cryptonote_config - replace genesis tx with correct one 2018-04-29 19:20:03 +10:00
jcktm ca3e94bb59 cryptonote_config - add genesis tx 2018-04-29 19:09:33 +10:00
jcktm 9b91836f0a cryptonte_config - add governance wallet address 2018-04-29 18:50:58 +10:00
jcktm 40981b9db2 cryptonote_config - change blockchain timestamp window config to 11 2018-04-29 15:08:46 +10:00
jcktm, wowrio, jagerman 594a7f569c merged in efe03eb0379d87d521f6fc86cef39ec06c119f41 - added LWMA
merged in 5b349daf08993c694ff9a05022dee432852832a2 - timestamps median mitigation
2018-04-28 18:12:31 +10:00
Haafingar 9f81ce20b8 modified: src/cryptonote_config.h
modified:   src/p2p/net_node.inl
2018-04-17 17:09:26 +10:00
Thomas Winget 9e2d0f49dd
loki stagenet genesis tx 2018-04-15 20:32:02 -04:00
Haafingar ee65796bf6
Update Testnet ID 2018-04-13 12:00:23 +10:00
Thomas Winget c6549bf351
fixup loki stagenet changes after upstream merge 2018-04-10 15:21:22 -04:00
Thomas Winget 697a51dbfd merge changes from upstream 2018-04-08 19:32:12 -04:00
Thomas Winget 3ae2d210e7
Loki testnet genesis tx 2018-03-21 19:13:44 -04:00
Thomas Winget 170dc26e9e
Loki emission curve 2018-03-21 19:13:36 -04:00
Thomas Winget a81574b937 allow for different versions for mainnet and testnet genesis block 2018-03-20 19:00:15 -04:00
Doyle T 975ab3af80 Add missing closing brace 2018-03-20 19:00:15 -04:00
Haafingar 8de90d6167 Insert correct testnet settings 2018-03-20 19:00:15 -04:00
Haafingar e703cec016 Corrected comment 2018-03-20 19:00:15 -04:00
Doyle f03940976a Change testnet network ID to arbitrary bytes 2018-03-20 19:00:15 -04:00
KeeJef 0cff4560fb 9 Mixin 2018-03-20 19:00:15 -04:00
Thomas Winget fb9b4af3f5 change minimum ring size to 11 (10 + real) 2018-03-20 19:00:14 -04:00
Thomas Winget ac6cdeb036 address prefixes for loki
L - mainnet
T - testnet
2018-03-20 19:00:14 -04:00
Thomas Winget 15b2636677 governance reward split 2018-03-20 19:00:11 -04:00
moneromooo-monero b1398fff40
core: fix use of uninitialised data 2018-03-18 23:37:00 +00:00
moneromooo-monero 38657fd0e9
Bump min ring size from 5 to 7 from v7 2018-03-07 13:19:04 +00:00
stoffu af773211cb
Stagenet 2018-03-05 11:55:05 +09:00
Jean Pierre Dudey 9f9e095a8c
Use genesis_tx parameter in generate_genesis_block. #3261
* src/cryptnote_config.h: The constant `config::testnet::GENESIS_TX` was
changed to be the same as `config::GENESIS_TX` (the mainnet's transaction)
because the mainnet's transaction was being used for both networks.

* src/cryptonote_core/cryptonote_tx_utils.cpp: The `generate_genesis_block` function
was ignoring the  `genesis_tx` parameter, and instead it was using the `config::GENESIS_TX`
constant. That's why the testnet genesis transaction was changed. Also five lines of unused
code were removed.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2018-03-05 11:19:01 +09:00
Thomas Winget 86d9d8ce39
loki decimal point and fork version config values 2018-02-28 11:56:41 -05:00
Thomas Winget 6511ce0cc3
Change project name in config to loki 2018-02-28 11:56:39 -05:00
moneromooo-monero bc61ae69bf
tx_pool: add a max pool size, settable with --max-txpool-size 2018-02-07 13:42:12 +00:00
moneromooo-monero 3b4e6b35b3
txpool: increase unmined tx expiry to three days 2018-02-01 22:48:52 +00:00
xmr-eric 18216f19dd Update 2018 copyright 2018-01-26 10:03:20 -05:00
kenshi84 4dd05a2f9b
subaddress: change prefix so that it starts with 8 2017-10-16 10:35:59 +09:00
Riccardo Spagni 5ea20d6944
Merge pull request #2469
7adceee6 precomputed block hashes are now in blocks of N (currently 256) (moneromooo-monero)
2017-10-15 17:23:50 +02:00
kenshi84 53ad5a0f42
Subaddresses 2017-10-07 13:06:21 +09:00
Riccardo Spagni 13be8115e4
Merge pull request #2458
7f2f6ee1 protocol: remove hop count on block propagation (moneromooo-monero)
2017-09-25 17:00:47 +02:00
moneromooo-monero 7adceee634
precomputed block hashes are now in blocks of N (currently 256)
This shaves a lot of space off binaries
2017-09-18 16:29:00 +01:00
moneromooo-monero 7f2f6ee1c9
protocol: remove hop count on block propagation
It is unused, as it was apparently a future optimization,
and it leaks some information (though since pools publish
thei blocks they find, that amount seems small).
2017-09-17 10:26:12 +01:00
Thomas Winget 77986023c3
json serialization for rpc-relevant monero types
Structured {de-,}serialization methods for (many new) types
which are used for requests or responses in the RPC.

New types include RPC requests and responses, and structs which compose
types within those.

# Conflicts:
#	src/cryptonote_core/blockchain.cpp
2017-09-05 12:20:27 -04:00
moneromooo-monero 5a283078ec
cryptonote_protocol: large block sync size before v4 2017-08-17 13:11:52 +01:00
moneromooo-monero 7007bd1489
Change default block sync size from 200 to 20
With the new sync algorithm, the network overhead will be masked
as the thread adding blocks isn't interrupted by network calls
anymore. This should reduce memory usage a lot during sync.
2017-08-08 11:05:11 +01:00
Riccardo Spagni ed09652a17
Merge pull request #1701
8277e67f Add anchor connections (Miguel Herranz)
2017-05-05 11:26:11 +02:00