Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user configurable blocksize option #1

Closed
wants to merge 23 commits into from

Commits on Mar 5, 2017

  1. build: Probe MSG_DONTWAIT in the same way as MSG_NOSIGNAL

    Instead of the WIN32-specific workaround, detect lack of `MSG_DONTWAIT`
    in the build system. This allows other platforms without `MSG_DONTWAIT`
    to work too.
    laanwj committed Mar 5, 2017
    Configuration menu
    Copy the full SHA
    c459d50 View commit details
    Browse the repository at this point in the history
  2. build: cleanup: define MSG_DONTWAIT/MSG_NO_SIGNAL locally

    Define MSG_DONTWAIT and MSG_NO_SIGNAL in the implementation files that
    use them (`net.cpp` and `netbase.cpp`), instead of compat.h which is
    included all over the place.
    
    This avoids putting them in the global namespace, as defining them as 0
    is a hack that works for our specific usage, but it is not a general
    solution.
    
    Also makes sure they are defined only once so the `!defined(MSG_x)` guard can go.
    laanwj committed Mar 5, 2017
    Configuration menu
    Copy the full SHA
    25da1ee View commit details
    Browse the repository at this point in the history
  3. compat: use unsigned int instead of u_int

    `u_int` is not available on some platforms (not sure what standard it's
    supposed to be part of), we don't use it anywhere else, and it doesn't
    hurt to simply write `unsigned int` out here.
    laanwj committed Mar 5, 2017
    Configuration menu
    Copy the full SHA
    a4d1c9f View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2017

  1. Initialize nRelockTime

    pstratem committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    fb6f90a View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2017

  1. Configuration menu
    Copy the full SHA
    1eff6c6 View commit details
    Browse the repository at this point in the history
  2. Fix RPC failure testing (2 of 2)

    Commit 9db8eec improved the
    assert_raises_jsonrpc() function for better testing of RPC failure
    modes. This commit completes the job by removing remaining broken
    try-except RPC testing from the individual test cases and replacing it
    with calls to assert_raises_jsonrpc().
    jnewbery committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    c9bd0f6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b26ea0a View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2017

  1. Configuration menu
    Copy the full SHA
    a3ca43b View commit details
    Browse the repository at this point in the history
  2. Merge bitcoin#10008: [trivial] Fix a typo (introduced two days ago) i…

    …n the default fee warning
    
    a3ca43b [trivial] Fix a typo (introduced two days ago) in the default fee warning (practicalswift)
    
    Tree-SHA512: b88bb45cb0cbe7f0b0c1dd5d573dad36f3915b1ddde58c9b29806544c832c4a2c0a7994080a57682684f1dea0a02d5367aed8ccbee331dbc40c45948392e0f3d
    jonasschnelli committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    d42729a View commit details
    Browse the repository at this point in the history
  3. Merge bitcoin#10002: fix gitian doc example script typo

    1eff6c6 fix gitian doc example typo (Lawrence Nahum)
    
    Tree-SHA512: a43b91eb746ebee30810447a697495f97bc8ed0b052b1255b2e34b3ba9a7ca7e904ea45fe6f88029abbb461a539949139efcf5f2de7b3604114e793b27a506f5
    laanwj committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    ad44438 View commit details
    Browse the repository at this point in the history
  4. Merge bitcoin#9995: [doc] clarify blockchain size and pruning

    b26ea0a specify blockchain size & default behaviour (over pruning) (Mike van Rossum)
    
    Tree-SHA512: f21e1ea0df66500f9f899c429984e7c3de6d1cb1a216f2784061731fe22d5b8e9e48042dfc9db3c92adc6d6b6bb0c2578ca431fe5268b2a907ee2c0fdb60b4c5
    laanwj committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    8bcf934 View commit details
    Browse the repository at this point in the history
  5. Merge bitcoin#9993: Initialize nRelockTime

    fb6f90a Initialize nRelockTime (Patrick Strateman)
    
    Tree-SHA512: 82675ab4b05d5f3ea08a99e85d3f49d18068887d23cbacb5e899ad66799049c5f1d5bd33768dbe153116424c9f0caddaa3622000924e373aa01ac2a54b5f3577
    MarcoFalke committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    c49355c View commit details
    Browse the repository at this point in the history
  6. Merge bitcoin#9842: Fix RPC failure testing (continuation of bitcoin#…

    …9707)
    
    c9bd0f6 Fix RPC failure testing (2 of 2) (John Newbery)
    
    Tree-SHA512: df30e6e85abe8c4e12910dc60699f1201e9c243457abd738c1fdeac45f0ff05c674f68619ad9a47c847ec557954007d672cd89d3a9a3b2398dd188d9ffa6dcc9
    MarcoFalke committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    598ef9c View commit details
    Browse the repository at this point in the history
  7. Merge bitcoin#9921: build: Probe MSG_DONTWAIT in the same way as MSG_…

    …NOSIGNAL
    
    a4d1c9f compat: use `unsigned int` instead of `u_int` (Wladimir J. van der Laan)
    25da1ee build: cleanup: define MSG_DONTWAIT/MSG_NO_SIGNAL locally (Wladimir J. van der Laan)
    c459d50 build: Probe MSG_DONTWAIT in the same way as MSG_NOSIGNAL (Wladimir J. van der Laan)
    
    Tree-SHA512: 60d79d69439bb181465e4244aa5ddc28bbd84f69c0ca0c753956b3798c9022394e29d791bc085fe7ffb1268c64c789a57e24797daad63525bb776088188ff9ae
    laanwj committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    8b789d8 View commit details
    Browse the repository at this point in the history
  8. Add user configurable blocksize option

    This adds an user configurable blocksize option, to
    help the bitcoin network find a market based equilibrium.
    
    It is mostly based on Tom Zander's commit to bitcoinclassic:
    5c132f0
    
    The clientversion stuff was borrowed from the bip100 pullrequest:
    https://github.com/bitcoinxt/bitcoin/pull/1/files
    someone committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    3b98a57 View commit details
    Browse the repository at this point in the history
  9. Update default limits and add unit test.

    zander authored and someone committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    9cbbbaf View commit details
    Browse the repository at this point in the history
  10. Avoid rounding errors on 32 bit architectures.

    zander authored and someone committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    cd103ea View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2017

  1. add missing include

    someone committed Mar 17, 2017
    Configuration menu
    Copy the full SHA
    c593a35 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2017

  1. Fix useragent not showing up

    someone committed Mar 18, 2017
    Configuration menu
    Copy the full SHA
    5ed9105 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2017

  1. Configuration menu
    Copy the full SHA
    622566b View commit details
    Browse the repository at this point in the history
  2. Avoid assert on misconfiguration. Instead warn.

    This adds some warnings to the log file should there be issues with a
    misconfigured block-size-accept-limit.
    zander authored and core-bitcoin committed Mar 19, 2017
    Configuration menu
    Copy the full SHA
    61a2a4f View commit details
    Browse the repository at this point in the history
  3. Add blocksizeacceptlimitbytes command-line option

    Also change DEFAULT_BLOCK_ACCEPT_SIZE constant from a float to an int32_t
    jamoes authored and core-bitcoin committed Mar 19, 2017
    Configuration menu
    Copy the full SHA
    12e0d0e View commit details
    Browse the repository at this point in the history
  4. Fix compile error

    it seems upstream unexposed mapArgs in
    4cd373a
    
    This changes mapArgs into GetArg
    core-bitcoin committed Mar 19, 2017
    Configuration menu
    Copy the full SHA
    b50416e View commit details
    Browse the repository at this point in the history