hirosystems / ordhook

Build indexers, standards and protocols on top of Ordinals and Inscriptions (BRC20, etc).
Apache License 2.0
180 stars 55 forks source link

fix: pointer ignored, performance improvements #250

Closed lgalabru closed 7 months ago

lgalabru commented 8 months ago

This PR is updating the config format:


    [storage]
    working_dir = "/hirosystems/ordhook/data"

    # The Http Api allows you to register / deregister
    # dynamically predicates.
    # Disable by default.
    #
    [http_api]
    http_port = 20456

    [network]
    mode = "mainnet"
    bitcoind_zmq_url = "tcp://0.0.0.0:18543"
    bitcoind_rpc_url = "http://0.0.0.0:8332"
    bitcoind_rpc_username = "xxx"
    bitcoind_rpc_password = "xxx"

    [snapshot]
    download_url = "https://archive.hiro.so/mainnet/ordhook/mainnet-ordhook-sqlite-latest"

    [resources]
    ulimit = 3096
    cpu_core_available = 12
    memory_available = 32
    bitcoind_rpc_threads = 4
    bitcoind_rpc_timeout = 15
    expected_observers_count = 1
GuutBoy commented 7 months ago

Sorry to be difficult but now it just cant build this anymore. cargo ordhook-intall gives a bunch of errors like

relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
GuutBoy commented 7 months ago

The above seems to be due to the tcmalloc thing. Rolling back to the typo fixing commit solves it.

tapstoone commented 7 months ago

Any progress ?

lgalabru commented 7 months ago

@0xbitfly yep, we're almost there!

github-actions[bot] commented 6 months ago

:tada: This PR is included in version 2.1.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: