Skip to content

[pull] master from Codaone:master#3

Merged
pull[bot] merged 64 commits intofakegit:masterfrom
Codaone:master
May 3, 2019
Merged

[pull] master from Codaone:master#3
pull[bot] merged 64 commits intofakegit:masterfrom
Codaone:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented May 3, 2019

See Commits and Changes for more details.


Created by pull[bot]

bitphage and others added 30 commits February 20, 2019 15:00
Default expiration time of 30 seconds may be too low in some cases (slow
connection, time differences between local machine and the node). Also,
time to irreversible block is more than 30 seconds. In case of chain
microforks a node can recover transactions from shorter chain if they
are not expired yet. E.g., with bigger expiration trx inclusion in
irreversible block is more reliable.
Trx expiration must fit into limit "head block time + 1 day". If it's
not, the node is not properly synced (blockchain state) or client
machine time is too much in the future.

As a solution, try to switch node, and if it didn't help raise error to
the user.

Closes: #250
Added PEP8 testing to the MakeFile which does the following:

1. Installs Flake8 3.7.7 with dependencies
2. Runs flake8 test for dexbot folder
3. Uninstalls Flake8 with dependencies so that the project's build does
not grow too much in size
Runs pep-test before building
Includes the max line length of 120 and excludes some auto generated
python files
Moved all the pip install packages on one line and fixed the package
installation
- Removed unused imports
- Changed 'dexbot.helper' import to be more specific
- Fixed 'os' import, since it doesn't come from 'dexbot.helper' anymore
Added some missing new lines from end of the files and removed one extra
thehapax and others added 28 commits April 10, 2019 22:30
locking sqlalchemy version it to 1.3.0 to keep things in order
In b3e8ff1 default logfile was changed
to the same directory where the cli executable is. This is a wrong
approach as dexbot can be installed in multiple ways. System-wide
install will put the binary into /usr/bin/dexbot-cli. Applicateion must
not try to log into /usr/bin/.

This change makes logging consistent with GUI, which stores the log into
user data directory, like ~/.local/share/dexbot/dexbot.log

Closes: #490, #540
@pull pull bot added the ⤵️ pull label May 3, 2019
@pull pull bot merged commit 97f1c00 into fakegit:master May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants