Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
57c4b409
Commit
57c4b409
authored
10 years ago
by
inso
Browse files
Options
Downloads
Plain Diff
Merge branch 'release_076' into dev
Conflicts: src/cutecoin/__init__.py src/cutecoin/core/wallet.py
parents
2d2a2c27
57e00bcf
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/ucoinpy/documents/transaction.py
+2
-1
2 additions, 1 deletion
lib/ucoinpy/documents/transaction.py
src/cutecoin/core/wallet.py
+5
-1
5 additions, 1 deletion
src/cutecoin/core/wallet.py
with
7 additions
and
2 deletions
lib/ucoinpy/documents/transaction.py
+
2
−
1
View file @
57c4b409
...
...
@@ -6,6 +6,7 @@ Created on 2 déc. 2014
from
.
import
Document
import
re
import
logging
class
Transaction
(
Document
):
'''
...
...
@@ -40,7 +41,7 @@ SIGNATURE
'''
re_type
=
re
.
compile
(
"
Type: (Transaction)
\n
"
)
re_header
=
re
.
compile
(
"
TX:([0-9]
)
+:([0-9]
)
+:([0-9]
)
+:([0-9]
)
+:(0|1)
\n
"
)
re_header
=
re
.
compile
(
"
TX:([0-9]+
)
:([0-9]+
)
:([0-9]+
)
:([0-9]+
)
:(0|1)
\n
"
)
re_issuers
=
re
.
compile
(
"
Issuers:
\n
"
)
re_inputs
=
re
.
compile
(
"
Inputs:
\n
"
)
re_outputs
=
re
.
compile
(
"
Outputs:
\n
"
)
...
...
This diff is collapsed.
Click to expand it.
src/cutecoin/core/wallet.py
+
5
−
1
View file @
57c4b409
...
...
@@ -83,7 +83,11 @@ class Cache():
req_args
=
{
'
number
'
:
block_number
})
signed_raw
=
"
{0}{1}
\n
"
.
format
(
block
[
'
raw
'
],
block
[
'
signature
'
])
try
:
block_doc
=
Block
.
from_signed_raw
(
signed_raw
)
except
:
logging
.
debug
(
"
Error in {0}
"
.
format
(
block_number
))
raise
metadata
=
{
'
block
'
:
block_number
,
'
time
'
:
block_doc
.
time
}
for
tx
in
block_doc
.
transactions
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment