Revert "Expose block filters over REST" #23830

pull uvhw wants to merge 1 commits into bitcoin:master from uvhw:revert-17631-2019-11-filter-rest changing 3 files +5 −231
  1. uvhw commented at 6:48 PM on December 20, 2021: none

    <!-- ***have wallet btc*** Pull requests without a rationale and clear improvement may be closed immediately. GUI-related pull requests should be opened against https://github.com/bitcoin-core/gui first. See CONTRIBUTING.md -->

    <!-- Please provide clear motivation for your patch and explain how it improves Bitcoin Core user experience or Bitcoin Core developer experience significantly: * Any test improvements or new tests that improve coverage are always welcome. * All other changes should have accompanying unit tests (see `src/test/`) or functional tests (see `test/`). Contributors should note which tests cover modified code. If no tests exist for a region of modified code, new tests should accompany the change. * Bug fixes are most welcome when they come with steps to reproduce or an explanation of the potential issue as well as reasoning for the way the bug was fixed. * Features are welcome, but might be rejected due to design or scope issues. If a feature is based on a lot of dependencies, contributors should first consider building the system outside of Bitcoin Core, if possible. * Refactoring changes are only accepted if they are required for a feature or bug fix or otherwise improve developer experience significantly. For example, most "code style" refactoring changes require a thorough explanation why they are useful, what downsides they have and why they *significantly* improve developer experience or avoid serious programming bugs. Note that code style is often a subjective matter. Unless they are explicitly mentioned to be preferred in the [developer notes](/doc/developer-notes.md), stylistic code changes are usually rejected. -->

    <!-- Bitcoin Core has a thorough review process and even the most trivial change needs to pass a lot of eyes and requires non-zero or even substantial time effort to review. There is a huge lack of active reviewers on the project, so patches often sit for a long time. -->

  2. Revert "Expose block filters over REST" 240d6bb402
  3. uvhw commented at 6:49 PM on December 20, 2021: none

    @bitchaincoin @totongcute have #wallet

  4. uvhw commented at 6:51 PM on December 20, 2021: none

    #15281 update wallet

  5. uvhw commented at 6:53 PM on December 20, 2021: none

    Không có mô tả được cung cấp.

    #15952

  6. uvhw closed this on Dec 20, 2021

  7. uvhw deleted the branch on Dec 20, 2021
  8. uvhw restored the branch on Dec 20, 2021
  9. uvhw deleted the branch on Dec 20, 2021
  10. uvhw restored the branch on Dec 20, 2021
  11. uvhw deleted the branch on Dec 28, 2021
  12. uvhw restored the branch on Dec 31, 2021
  13. uvhw deleted the branch on Dec 31, 2021
  14. uvhw restored the branch on Dec 31, 2021
  15. uvhw commented at 9:45 AM on January 24, 2022: none

    #!/usr/bin/env ruby

    require 'html/proofer'

    if ARGV[0].nil? path_to_check="./_site" else path_to_check=ARGV[0] end

    Will throw an exception (exiting false) if any internal links don't

    work. The Makefile will terminate on the failure

    HTML::Proofer.new( ## To test, uncomment the array below and comment out ./_site and :disable_external #[ "/foo/bar#baz", "/foo/bar", "#", "#wallet", "/foo.css", "/bar.png", "/zh_TW/bitcoin-for-businesses" ], path_to_check,

    {
        ## Disable external link checking by default to avoid spurious
        ## Travis CI failures. TODO: take an argument to optionally
        ## enable external link checking as part of the Makefile
        ## manual checks
        :disable_external => true,
    
        ## Check whether HTML is well-formed
        :check_html => true,
        
        ## Links to ignore
        :href_ignore => [
          '#',           ## hrefs pointing to the current page (htmlproofer fails them)
          /^$/,          ## anchors with no href attribute set (for clickable javascript elements)
          /^\/bin/,      ## /bin dir is not part of repository; holds Bitcoin Core binaries
          /^.*\.(pdf|PDF)$/, ## Bitcoin whitepaper links
          'bitcoin:1GwvLW9qJ8uaYjew3cFvPiqxViWhuU1pKT', ## bitcoin address handlers
          /^\/stats/     ## /stats dir is not part of repository; generated by separate stats script
        ],
    
        ## Mangle links. If we enable external link checking, this will
        ## require updating
        :href_swap => {
          ## (Hack) Append '$' to the ends of filenames we don't want to append .html to
          /(css|png|rss|pdf|jpg|asc|xml)$/ => '\1$',
    
          ## Append .html to end of most URLs so proofer can find the local files
          /^(
           [^#]+   ## Don't match URL containing a hash, we'll deal with them separately
           [^\/$]  ## Don't match URLs ending in a slash or $
          )$/x => '\1.html',
    
          ## Insert .html between page and anchor, but only if there's a
          ## page name
          /^(.+)(#.+)/ => '\1.html\2',
    
          /\/(.html#.+)/ => '\1',
    
          ## (Un-hack) Remove previously-appended '$' from URLs
          /\$$/ => '',
        },
    
        ## It'd be nice if we had a _local_config.yaml file or something
        ## for settings specific to particular systems, but for now I
        ## think 2 is a good setting for Travis CI ("1.5 processors")
        ## and me (usually 2 processors)
        :parallel => { :in_processes => 2 },
    }

    ).run

  16. DrahtBot locked this on May 5, 2023
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-02 18:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me