forked from monero-project/monero
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #134 from AdminXeq/sn_reg
Service Node Registration fixes. This fix is MANDATORY and required. Hard-Fork v16 ( ~10/01/2023 ) is set for it
- Loading branch information
Showing
36 changed files
with
673 additions
and
601 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#ifndef BLOCKCHAIN_OBJECTS_H | ||
#define BLOCKCHAIN_OBJECTS_H | ||
|
||
#include "cryptonote_core/blockchain.h" | ||
#include "cryptonote_core/tx_pool.h" | ||
#include "cryptonote_core/service_node_list.h" | ||
#include "cryptonote_core/service_node_deregister.h" | ||
|
||
struct blockchain_objects_t | ||
{ | ||
cryptonote::Blockchain m_blockchain; | ||
cryptonote::tx_memory_pool m_mempool; | ||
service_nodes::service_node_list m_service_node_list; | ||
service_nodes::deregister_vote_pool m_deregister_vote_pool; | ||
blockchain_objects_t() : | ||
m_blockchain(m_mempool, m_service_node_list, m_deregister_vote_pool), | ||
m_service_node_list(m_blockchain), | ||
m_mempool(m_blockchain) { } | ||
}; | ||
|
||
#endif // BLOCKCHAIN_OBJECTS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.