Comments (1)
Agreed. This is a holdover from the ancient src/blockdata/blockchain.rs days (where there was appropriate supporting code to actually compute the expected difficulty). This was removed in March and perhaps this function should've been removed too. Oh well.
The old supporting code was moved to https://github.com/tamasblummer/rust-bitcoin-chain which AFAIK is the only place this function is used.
from rust-bitcoin.
Related Issues (20)
- Add STRICTENC flags to bitcoin::PublicKey::from_slice()? HOT 16
- Make `Psbt::sighash_ecdsa` private HOT 2
- `effective_value` does not take segwit/legacy into account HOT 10
- Transaction::total_size has quadratic complexity instead of linear HOT 1
- Consider renaming `txid` to `compute_txid` or similar. HOT 16
- Check and possibly resolve TODO comments
- Document serialization guarantees and drop serde from anything that isn't in Core RPC HOT 7
- Prioritization of the leaf crates stabilization and dependency graph HOT 4
- Remove `InvalidLength` from `Base58::Error` HOT 1
- const constructors for hashes HOT 11
- OP_IF usage for multisig HOT 9
- Testing TaprootScript HOT 7
- Fuzzing runs first HOT 6
- Add Taproot examples to `bitcoin/examples/sighash.rs` HOT 1
- units: Make `amount` module not require "alloc" feature HOT 2
- Test the `Encodable` impl for `Vec<T>` where `T: Encodable` HOT 11
- Measure performance for different values of `HEX_BUF_SIZE` HOT 1
- `coveralls` notification is a bit spammy HOT 5
- Implement missing p2p message types HOT 1
- Implement rand on types for use in testing HOT 4
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 rust-bitcoin.