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
bb491781
Prev
Next
Show latest version
2 files
+
9
−
5
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
bb491781
Pre-commit fixes
· bb491781
Krzysztof Mochocki
authored
1 year ago
clive/__private/core/node/api/account_history_api.py
+
7
−
4
Options
from
__future__
import
annotations
from
clive
import
models
# noqa: TCH001
from
clive.__private.core.node.api.api
import
Api
from
schemas.account_history_api
import
response_schemas
# noqa: TCH001
@@ -14,11 +15,13 @@ class AccountHistoryApi(Api):
include_reversible
:
bool
=
True
,
operation_filter_low
:
int
|
None
=
None
,
operation_filter_high
:
int
|
None
=
None
,
)
->
response_schemas
.
GetAccountHistory
:
)
->
response_schemas
.
GetAccountHistory
[
models
.
ApiOperationObject
,
models
.
ApiVirtualOperationObject
]
:
raise
NotImplementedError
()
@Api.method
def
get_transaction
(
self
,
id_
:
str
,
include_reversible
:
bool
=
True
)
->
response_schemas
.
GetTransaction
:
def
get_transaction
(
self
,
id_
:
str
,
include_reversible
:
bool
=
True
)
->
response_schemas
.
GetTransaction
[
models
.
ApiOperationObject
]:
raise
NotImplementedError
()
@Api.method
@@ -31,10 +34,10 @@ class AccountHistoryApi(Api):
limit
:
int
|
None
=
None
,
include_reversible
:
bool
=
True
,
group_by_block
:
bool
=
False
,
)
->
response_schemas
.
EnumVirtualOps
:
)
->
response_schemas
.
EnumVirtualOps
[
models
.
ApiVirtualOperationObject
]
:
raise
NotImplementedError
()
def
get_ops_in_block
(
self
,
block_num
:
int
,
only_virtual
:
bool
=
False
,
include_reversible
:
bool
=
True
)
->
response_schemas
.
GetOpsInBlock
:
)
->
response_schemas
.
GetOpsInBlock
[
models
.
ApiOperationObject
,
models
.
ApiVirtualOperationObject
]
:
raise
NotImplementedError
()
Loading