Commit graph

3404 commits

Author SHA1 Message Date
Jeffrey Picard
4e9eae447f docker-compose deployment 2021-11-11 05:24:17 +00:00
Brannon King
8c3fdc5b61 made estimatesmartfee call estimatefee (for now) 2021-11-09 15:50:02 -05:00
Brannon King
a1771466b7 added missing takeover height and amount RPC fields 2021-11-09 14:59:07 -05:00
Brannon King
53f79b0979 ampersand should not keep something out of the mempool 2021-11-09 14:53:27 -05:00
Roy Lee
c2f28f3440 [lbry] ci: Update Dockerfile for ports 2021-11-04 11:12:49 -07:00
Roy Lee
0eb0616b66 [lbry] docs: update README.md 2021-11-04 11:03:29 -07:00
Roy Lee
6093d9adca [lbry] align port settings between lbcd, lbcctl, and lbcwallet 2021-11-04 11:03:29 -07:00
Brannon King
6c18a23b81 added getchaintips RPC
remove btcjson dep in chainquery
2021-11-02 18:14:27 -07:00
Brannon King
d637f1db3f import invalidate/reconsiderblock from bchd 2021-11-02 18:14:27 -07:00
Brannon King
ae40d6fdd7 import getnetworkinfo from bchd 2021-11-02 18:14:27 -07:00
Alex Grintsvayg
c7b2007e9c
fix startuptime sample location 2021-11-01 14:28:07 -04:00
Alex Grintsvayg
c45f4ce9f9
make uptime rpc return a real uptime 2021-10-29 16:21:54 -04:00
Roy Lee
71e8edaba8 [lbry] test: fix ExampleBlockChain_ProcessBlock() 2021-10-19 22:08:01 -07:00
Brannon King
542665847c [lbry] ci: bump version to 0.22.100 2021-10-19 22:08:01 -07:00
Brannon King
188023b729 [lbry] ffldb: increase open file limit and flush more often 2021-10-19 22:08:01 -07:00
Brannon King
783313f53d [lbry] increase open file limit to 2048 2021-10-19 22:08:01 -07:00
Brannon King
d9dc3463d0 [lbry] don't ban peers on tx-not-in-block behavior 2021-10-19 22:08:01 -07:00
Brannon King
939eeca0cf [lbry] rpc: fix getblock reponse 2021-10-19 22:08:01 -07:00
Roy Lee
ddb735fe4c [lbry] fixups lint warnings 2021-10-19 22:08:01 -07:00
Brannon King
47a2f0ca85 [lbry] docs: update docs for LBRY 2021-10-19 22:08:01 -07:00
Brannon King
f1314e2e2d [lbry] fixed all current tests and delete three.
Co-authored-by: Roy Lee <roylee17@gmail.com>
2021-10-19 22:07:35 -07:00
Roy Lee
6f5311d7c6 [lbry] rename btcd to lbcd
Co-authored-by: Brannon King <countprimes@gmail.com>
2021-10-19 21:42:12 -07:00
Roy Lee
369b4f6574 [lbry] ci: cleanup claim databases for regression test 2021-10-19 21:22:36 -07:00
Roy Lee
0e4f47205e [lbry] mining: fix generatetoaddress 2021-10-19 21:22:36 -07:00
Brannon King
0879aa61fd [lbry] mining: calculate claimtrie root hash for generate RPC 2021-10-19 21:19:42 -07:00
Brannon King
bdc39f0c46 [lbry] brought in upnp fix from dcrd 2021-10-19 21:19:42 -07:00
Brannon King
0dda401105 [lbry] switched upnp param to its opposite 2021-10-19 21:19:42 -07:00
Brannon King
a8205851ab [lbry] enable segwit 2021-10-19 21:19:42 -07:00
Brannon King
2fec3e3fee [lbry] remove claim prefix for addr calculation 2021-10-19 21:19:42 -07:00
Brannon King
5e216ad456 [lbry] print out memory usage periodically 2021-10-19 21:19:42 -07:00
Brannon King
4b3fcd30e5 [lbry] blockchain: Consider a block with timestamp less 6 hours 'current' 2021-10-19 21:19:42 -07:00
Brannon King
f57398bf36 [lbry] rpc: update defaultMaxFeeRate from 0.1 LBC to 0.5 LBC 2021-10-19 21:19:42 -07:00
Brannon King
d7d5fde249 [lbry] rpc: output segwit rule 2021-10-19 21:19:42 -07:00
Brannon King
9263ffb1b5 [lbry] rpc: add ClaimTrie root hash to GetBlockTemplate() 2021-10-19 21:19:42 -07:00
Brannon King
a734ac0ee9 [lbry] rpc: support claim related methods 2021-10-19 21:19:42 -07:00
Mark Beamer Jr
37400696ad [lbry] rpcclient: allow any chain params not specified in repo already. 2021-10-19 01:16:15 -07:00
Roy Lee
0dbbbaaeeb [lbry] config: support 'clmtimpl' and 'clmtheight' flags 2021-10-19 01:16:15 -07:00
Roy Lee
5ff5739b47 [lbry] go module: update go modules
go mod init github.com/lbryio/chain
go mod edit --replace github.com/btcsuite/btcd=./
go mod edit --replace github.com/btcsuite/btcutil=github.com/lbryio/lbcutil@f93c78a8bc21
go mod tidy
2021-10-19 01:16:15 -07:00
Roy Lee
236cb44eee [lbry] claimtrie: import current snapshot
Sync to tip

Co-authored-by: Brannon King <countprimes@gmail.com>
2021-10-19 01:16:15 -07:00
Roy Lee
46c237dbcf [lbry] blockchain: connect to ClaimTrie
Co-authored-by: Brannon King <countprimes@gmail.com>
2021-10-19 01:16:15 -07:00
Brannon King
b166f562be [lbry] log: support claimtrie entries 2021-10-18 16:36:42 -07:00
Roy Lee
3ad06bdcbb [lbry] misc: change RPC port from 8334 to 9245 2021-10-18 16:36:42 -07:00
Roy Lee
7f5b9ae2fd [lbry] txscript: recognize LBRY claim script OPCODES 2021-10-18 16:36:42 -07:00
Roy Lee
b85b395b39 [lbry] txscript: initial porting of claim script
Co-authored-by: Brannon King <countprimes@gmail.com>
2021-10-18 16:36:42 -07:00
Roy Lee
db6550cc38 [lbry] txscript: change MaxScriptSize from 10,000 to 20,005 2021-10-18 16:36:42 -07:00
Roy Lee
57ba3201b1 [lbry] server: update client version to /btcwire:0.5.0/LBRY.GO:0.12.2/
TODO: double check if lbryd bumps the version.
2021-10-18 16:36:42 -07:00
Brannon King
059aa2ef4f [lbry] blockchain: support force active fork deployment 2021-10-18 16:36:42 -07:00
Roy Lee
7854bff5b2 [lbry] blockchain, mempool: validate txscripts
Co-authored-by: Brannon King <countprimes@gmail.com>
2021-10-18 16:36:42 -07:00
Roy Lee
fcc31b5935 [lbry] blockchain: change Block Subsidy algorithm 2021-10-18 16:36:42 -07:00
Roy Lee
4cccf98786 [lbry] blockchain: change the difficulty adjustment algorithm.
adjusted := target + (actual - target) / 8

  max := target + (target / 2)
  min := target - (target / 8)

  if adjusted > max {
    adjusted = max
  } else if adj < min {
    adjusted = min
  }

  diffculty := lastDifficulty * adjusted / target
2021-10-18 16:36:42 -07:00