github.com/piotrnar/gocoin@v0.0.0-20240512203912-faa0448c5e96/client/usif/textui/consensus/README.md (about)

     1  ## This functionality is outdated (incompatible with Taproot)
     2  
     3  ---
     4  Files in this folder allow to setup Gocoin node with so called bitcoin
     5  consensus lib. It is - depending on the OS - either `libbitcoinconsensus.so` or
     6  `libbitcoinconsensus-0.dll`, which get released along with Bitcoin Core client.
     7  
     8  To get adventage of this functionality, simply place the consensus library
     9  in the `gocoin/client` folder or within the system's `PATH`, so your OS can
    10  find it (e.g. in `C:\WINDOWS` or `/lib/`).
    11  Also copy all the `*.go` files from this foler to its parent folder and then
    12  re-build your gocoin client.
    13  
    14  Please note that you may need `gcc` compiler installed in your system before
    15  you can build the client with the consensus lib support.
    16  
    17  Having Gocoin built with the consensus lib support and the consensus lib placed
    18  within your system's PATH, the node will cross-check each new transaction,
    19  making sure that the gocoin's consensus checks return the same results as the
    20  ones of the reeference client's (from Bitcoin Core).