Each Exchange Node operates a single orderbook, representing a currency pair (i.e. BTC/USD). Unifying the nodes into a single user experience is done in the client, or using an exchange broker.
This server subscribes and publishes events to an AMQP message queue. Some of these events are published via the SockJS-mq-server, while others are consumed by servers subscribed to broker events.
In case you need to install the secp256k1
C library, the following sequence of commands is recommended. If you already have secp256k1
, make sure it was compiled from the expected git commit or it might fail to work due to API incompatibilities.
git clone git://github.com/bitcoin/secp256k1.git libsecp256k1
cd libsecp256k1
git checkout d7eb1ae96dfe9d497a26b3e7ff8b6f58e61e400a
./autogen.sh
./configure --enable-module-recovery --enable-module-ecdh --enable-module-schnorr
make
sudo make install