Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
clive
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
clive
Merge requests
!84
Add synchronization between node and clive
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add synchronization between node and clive
kmochocki/node-connection
into
develop
Overview
42
Commits
40
Pipelines
27
Changes
2
Merged
Krzysztof Mochocki
requested to merge
kmochocki/node-connection
into
develop
1 year ago
Overview
42
Commits
40
Pipelines
27
Changes
2
Expand
Moved NodeData to Account
Synced data is avaiable on Cart and Dashboard
Refreshing data is completly separated from fetching data from node
Refactored communication threading: Now there is one thread pool, so it does not starts worker thread on every call, which is faster.
TODO:
Add support for rc
Add rc calculations
Edited
1 year ago
by
Krzysztof Mochocki
0
0
Merge request reports
Viewing commit
aeeec9e0
Prev
Next
Show latest version
2 files
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
Unverified
aeeec9e0
Fixes
· aeeec9e0
Mateusz Żebrak
authored
1 year ago
clive/__private/core/commands/update_node_data.py
+
1
−
1
Options
@@ -57,7 +57,7 @@ class UpdateNodeData(Command):
core
:
AccountItemFundament
[
Asset
.
HIVE
,
Asset
.
HBD
,
Asset
.
VESTS
]
|
None
=
None
rc
:
RcAccount
[
Asset
.
VESTS
]
|
None
=
None
def
execute
(
self
)
->
None
:
def
_
execute
(
self
)
->
None
:
downvote_vote_ratio
:
Final
[
int
]
=
4
api_accounts
:
dict
[
str
,
UpdateNodeData
.
AccountApiInfo
]
=
defaultdict
(
lambda
:
UpdateNodeData
.
AccountApiInfo
())
account_names
=
[
acc
.
name
for
acc
in
self
.
accounts
]
Loading