Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

lock balance on certain address #257

Open
dokrates opened this issue Jul 20, 2019 · 2 comments
Open

lock balance on certain address #257

dokrates opened this issue Jul 20, 2019 · 2 comments

Comments

@dokrates
Copy link

Dear Stratis team.

Is there a way to do an improvement for future Stratis Core version, which allows you to create a way to lock certain amount of stratis in an address inside Stratis core. So whenever you send coins, it doesn't splits to change addresses from this certain address "locked" ?. It will be very usefull for the masternodes users, specially this times, when we want to send usually from mainchain to sidechain cirrus just for testing purposes. Because if you have low balance like 12k stratis, and you want to send 10 stratis to cirrus, it could split in 5k, which will invalidate MN to vote and mine.

Thank you very much for your hard work, love stratis.

@DemonRx
Copy link
Contributor

DemonRx commented Jul 20, 2019

In other words having the same functionality as the C++ counterpart in masternode coins known as "coin control", which also automatically lock the masternode's collateral inputs from being staked/sent out when selecting coins to transact with.
Example here with ganjacoin (masternode coin):
Where you see "toggle lock state".

There is also a coin setting for the *.conf file that is mnconflock=1 that locks any inputs that are listed in masternode.conf. Statis Core is ofc a different setup. so not sure the implementation of it with stratis.

Screenshot from 2019-07-20 05-57-18

@dev0tion
Copy link
Collaborator

This could be interesting, I've passed it along to the team for them to look at.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants