Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • silkaj silkaj
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 130
    • Issues 130
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • clients
  • python
  • silkajsilkaj
  • Issues
  • #238
Closed
Open
Created Jul 05, 2019 by matograine@matograineMaintainer

"wrong unlocker in transaction"

Using a script to create multiple little sources (I verify a bug concerning intermediary tx), I get a bug on 0.7.2 and not on 0.6.5.

The script is very simple :

c=0
max=100
while [ "$c" -le "$max" ]; do
    silkaj -p ts.gt.librelois.fr:443  --auth-file tx -y --output 8JJ7EYhwpvRBQPhmZN6qF8S544EqNCvNGU5KBNv5ExPt --amount "1"
    sleep 10
    c=$(($c+1))
done

With 0.6.5, no problemo :

bash envoi-petites-sources.sh 
Generate Transaction:
   - From:    6ddpmzk8sJTnp1nJ2VKvQT5ktXjbH2GANzPdPLiE7EWr
   - To:      8JJ7EYhwpvRBQPhmZN6qF8S544EqNCvNGU5KBNv5ExPt
   - Amount:  1.0
Transaction successfully sent.
Generate Transaction:
   - From:    6ddpmzk8sJTnp1nJ2VKvQT5ktXjbH2GANzPdPLiE7EWr
   - To:      8JJ7EYhwpvRBQPhmZN6qF8S544EqNCvNGU5KBNv5ExPt
   - Amount:  1.0
Transaction successfully sent.

(and so on...)

But on v 0.7.2 :

bash envoi-petites-sources.sh 
Generate Transaction:
   - From:    6ddpmzk8sJTnp1nJ2VKvQT5ktXjbH2GANzPdPLiE7EWr
   - To:      8JJ7EYhwpvRBQPhmZN6qF8S544EqNCvNGU5KBNv5ExPt 
   - Amount:  1.0
Transaction successfully sent.
Generate Transaction:
   - From:    6ddpmzk8sJTnp1nJ2VKvQT5ktXjbH2GANzPdPLiE7EWr
   - To:      8JJ7EYhwpvRBQPhmZN6qF8S544EqNCvNGU5KBNv5ExPt 
   - Amount:  1.0
Error while publishing transaction: {
  "ucode": 2013,
  "message": "Wrong unlocker in transaction"
}

(And I get those errors forever)

I might also get, for "random" amounts with a slightly different script :

Generate Transaction:
   - From:    6ddpmzk8sJTnp1nJ2VKvQT5ktXjbH2GANzPdPLiE7EWr
   - To:      8JJ7EYhwpvRBQPhmZN6qF8S544EqNCvNGU5KBNv5ExPt 
   - Amount:  1.1
Error while publishing transaction: {
  "ucode": 1005,
  "message": "Document has unkown fields or wrong line ending format"
}

It seems to be a problem with DuniterPy.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking