Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-chain-mempool
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
cellframe
libdap-chain-mempool
Compare revisions
1bf5ea35fd12fc2e95debe5c4e193a5e06aa0bd6 to fd7c74df13d963215d88dd3622bde5b39f5ca7bd
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
cellframe/libdap-chain-mempool
Select target project
No results found
fd7c74df13d963215d88dd3622bde5b39f5ca7bd
Select Git revision
Swap
Target
cellframe/libdap-chain-mempool
Select target project
cellframe/libdap-chain-mempool
1 result
1bf5ea35fd12fc2e95debe5c4e193a5e06aa0bd6
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
[*] Comments
· fd7c74df
Dmitriy A. Gerasimov
authored
5 years ago
fd7c74df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dap_chain_mempool.c
+2
-2
2 additions, 2 deletions
dap_chain_mempool.c
with
2 additions
and
2 deletions
dap_chain_mempool.c
View file @
fd7c74df
...
...
@@ -170,7 +170,7 @@ int dap_chain_mempool_tx_create(dap_chain_t * a_chain, dap_enc_key_t *a_key_from
// add 'in' items
{
dap_list_t
*
l_list_tmp
=
l_list_used_out
;
uint64_t
l_value_to_items
=
0
;
// how many
coins
to transfer
uint64_t
l_value_to_items
=
0
;
// how many
datoshi
to transfer
while
(
l_list_tmp
)
{
list_used_item_t
*
item
=
l_list_tmp
->
data
;
if
(
dap_chain_datum_tx_add_in_item
(
&
l_tx
,
&
item
->
tx_hash_fast
,(
uint32_t
)
item
->
num_idx_out
)
==
1
)
{
...
...
@@ -183,7 +183,7 @@ int dap_chain_mempool_tx_create(dap_chain_t * a_chain, dap_enc_key_t *a_key_from
}
// add 'out' items
{
uint64_t
l_value_pack
=
0
;
// how much
coin
add to 'out' items
uint64_t
l_value_pack
=
0
;
// how much
datoshi
add to 'out' items
if
(
dap_chain_datum_tx_add_out_item
(
&
l_tx
,
a_addr_to
,
a_value
)
==
1
)
{
l_value_pack
+=
a_value
;
// transaction fee
...
...
This diff is collapsed.
Click to expand it.