Comments (4)
I've been looking at this, and it seems this could happen when the account is low on funds. Transaction code will try to add more UTXOs to cover the TX fee, but it might still produce this kind of transaction.
I've been writing a test that exposes this. I started with lots of small UTXOs. Small UTXOs tend to cause if change_amount > DUST
to be false. The problem I'm encountering is that fixing this can lead to a very costly transaction requiring dozens of the small UTXOs. The cost of the TX can be many times the nominal value of the claim being abandoned.
from lbry-sdk.
Thank you for digging in! I think it's pretty rare, must be some strange edge case. This particular user had hundreds of utxos.
from lbry-sdk.
Question was raised at meeting -- Did lbrycrd allow transactions with no outputs?
Lbrycrd appears to disallow these:
https://github.com/lbryio/lbrycrd/blob/71fc94b1dea1c7818f84a09832ec3db736481e0f/src/consensus/tx_verify.cpp#L169
As does lbcd:
https://github.com/lbryio/lbcd/blob/master/blockchain/validate.go#L241
from lbry-sdk.
No, it's an invalid tx and is not broadcast.
from lbry-sdk.
Related Issues (20)
- make playlist of torrent test cases
- client stops retrying hub connections HOT 1
- Add additional breakdown for "claims in channel" metadata
- May we have an updated version of documentation on daemon settings ?
- thumbnails in LBRY
- Allow multiple blob_dir HOT 2
- claim list with full text search
- Connection to ElasticSearch running inside Docker fails (MacOS)
- Various tests failing when run on Ubuntu 22.04.1: "ValueError: unsupported hash type ripemd160" HOT 4
- Check tx size when creating transactions (or use batching for all txes)
- Can't load lbrynet on Linux Mint HOT 9
- easy way to find + delete orphaned reposts
- how to properly link the wallet with lbry account wallet HOT 6
- Workflow generating lots of warnings: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. HOT 1
- bittrex timeout prevents startup? HOT 1
- Add field param
- No Channel For Android HOT 1
- Some files get incorrect duration HOT 2
- Opm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lbry-sdk.