lbryio / lbryio/lbry-sdk

Can not upload with 'lbrynet publish'

Open
#3,744 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.2k
Forks
493
PR merge metrics
No merged PRs in 30d

Description

I've had something like this before and after using some

```
lbrynet account fund
Usage:
account_fund [ | --to_account=]
[ | --from_account=]
( | --amount= | --everything)
[ | --outputs=] [--wallet_id=]
[--broadcast]

```

commands i could upload again, but i don't get it working this time...

```
lbrynet wallet balance
{
"available": "3230.69187135",
"reserved": "2115.47078",
"reserved_subtotals": {
"claims": "2115.47078",
"supports": "0.0",
"tips": "0.0"
},
"total": "5346.16265135"
}
```

"name": "RPCError",
"traceback": [
"Traceback (most recent call last):",
" File \"lbry/extras/daemon/daemon.py\", line 723, in _process_rpc_call",
" File \"lbry/extras/daemon/daemon.py\", line 3290, in jsonrpc_publish",
" File \"lbry/extras/daemon/daemon.py\", line 3535, in jsonrpc_stream_create",
" File \"lbry/extras/daemon/daemon.py\", line 5335, in broadcast_or_release",
" File \"lbry/wallet/manager.py\", line 320, in broadcast_or_release",
" File \"lbry/wallet/ledger.py\", line 727, in broadcast_or_release",
" File \"lbry/wallet/network.py\", line 89, in send_request",
" File \"lbry/wallet/network.py\", line 79, in send_request",
" File \"lbry/wallet/rpc/session.py\", line 484, in send_request",
"lbry.wallet.rpc.jsonrpc.RPCError: (1, 'the transaction was rejected by network rules.\\n\\nTX rejected: orphan transaction b639842dc0b80d476b437cab3ad372ce897e4fb88de80a6d03b7ecc0c7ceaaea references outputs of unknown or fully-spent transaction

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with `lbrynet publish` and inspect the traceback through `lbry/extras/daemon/daemon.py`, `lbry/wallet/manager.py`, `lbry/wallet/ledger.py`, and `lbry/wallet/network.py`. Check how `broadcast_or_release` handles the rejected orphan transaction and unknown or fully-spent outputs. Done means publishing succeeds without the network-rules rejection.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.