New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mainnet] New defaults for max- and partial-ops #415
Conversation
i like it. i am wondering if we should add a msg in the log that node is starting with this setup or add somewhere in the documentation that this is a reduced node. what do you think? |
I'd highly recommend NOT change the default behavior. Exchange accounts have far more than 1K records. Any changes may break existing business. |
How about this comes with a warning in the release notes that says that exchanges should set the parameters to their liking and or even set track-account? |
I agree with @abitmore - changing default behaviour is a bad idea and is likely to break existing installations. |
i understand both sides. existing business vs potential business lost. existing business is always more important. what do you think about the default config file change @abitmore ? |
I remember the idea about changing default config values has been discussed somewhere, perhaps in the Telegram channel. It's true that it will bring less trouble (but not zero trouble), so I think it's perhaps OK. |
8d4123a
to
9be9015
Compare
…iles The reasoning here is that maintainers and operators don't need to customize the configuration file - if they never used bitshares-core, while it keeps integrity if a config.ini already exists - in order to have the BitShares backend running in low memory mode. The number 1000 should be sufficient for most operations (even exchanges) to include all needed operations in the exchanges' account.
9be9015
to
7456e2e
Compare
@pmconrad I force pushed a different fix for this issue that stores the stuff in file (if created newly). Please consider adding this to the new hardfork release right away. I did testing, it seems to be working as desired. @oxarbitrage If you don't mind, please also do some testing |
I'm not a friend of last minute changes, but if Alfredo approves I'm OK with it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i like the implementation and it also works good. i think we can also mention this change in the README. merging it, nice job.
in regards to last minute changes to the release let's add this one if possible but no more and start thinking on a next release. Releases that don't have a hardfork should be easier to make and we can make them more often with enough or significant changes from develop
to master
.
After testing I have found that this patch has several downsides:
|
in regards to point 1 i used the pull and the new features didn't ended up twice but only once in the created config file. |
This is what was already there:
...and this is new:
Both mentioned defaults are wrong, partial-operations defaults to false and max ops defaults to infinite. |
you are right , i didn't saw it as it was commented, sorry about that. i reverted the merge until this problems are addressed properly. |
The reasoning here is that maintainers and operators don't need to
customize the configuration fiel in order to have the BitShares backend
running in low memory mode. The number 1000 should be sufficient for
most operations (even exchanges) to include all needed operations in the
exchanges' account.