Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This is the current version of Open-Transactions as of July 12, 2011.
- The only difference might be the data_folder path in test.php, which you can edit as you like.
- (I cat the file below so you can see the version I am using, before I execute it.)
- ~/Projects/Open-Transactions
- >
- ~/Projects/Open-Transactions
- > make clean && make php5
- cd OTLib && make PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib clean
- rm -f bigint/BigUnsigned.o bigint/BigInteger.o bigint/BigIntegerAlgorithms.o bigint/BigUnsignedInABase.o bigint/BigIntegerUtils.o Lucre/bankimp.o irrxml/irrXML.o OTData.o OTString.o OTStringXML.o OTASCIIArmor.o OTContract.o OTWallet.o OTSignedFile.o OTPseudonym.o OTMint.o OTInstrument.o OTCheque.o OTPurse.o OTLog.o OTToken.o OTTransactionType.o OTItem.o OTBasket.o OTTransaction.o OTLedger.o OTAccount.o OTEnvelope.o OTAssetContract.o OTServerContract.o OTOffer.o OTAgreement.o OTTrackable.o OTCron.o OTCronItem.o OTTrade.o OTPaymentPlan.o OTMarket.o OTPayload.o OTMessage.o OTMessageBuffer.o OTIdentifier.o OTAsymmetricKey.o OTSignature.o OTStorage.o OTDataCheck.o Generics.pb.o Markets.pb.o Bitcoin.pb.o Moneychanger.pb.o easyzlib.o mkcert.o simpleini/ConvertUTF.o libOTLib.a libOTLibd.a
- cd transaction && make PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib clean
- rm -f OTClientConnection.o OTServer.o testserver.o SSL-Example/SFSocket.o transaction.exe transaction.debug
- cd transaction && make PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib TRANSPORT=ZMQ clean
- rm -f OTClientConnection.o OTServer.o xmlrpcxx_server.o SSL-Example/SFSocket.o transaction.exe transaction.debug
- cd testwallet && make -f Makefile.API PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib LANGUAGE=c clean
- rm -f otapi.so otapi.bundle _otapi.so _otapi.bundle otapi.dylib _otapi.dylib ./SSL-Example/SFSocket.o OpenTransactions.o OTServerConnection.o OTClient.o OTAPI.o libOTAPI.a libOTAPId.a
- cd testwallet && make -f Makefile.API PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib LANGUAGE=ruby clean
- rm -f otapi.so otapi.bundle _otapi.so _otapi.bundle otapi.dylib _otapi.dylib ./SSL-Example/SFSocket.o OTAPI_ruby.o OpenTransactions.o OTServerConnection.o OTClient.o OTAPI.o otapi.bundle otapid.bundle
- cd testwallet && make -f Makefile.API PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib LANGUAGE=python clean
- rm -f otapi.so otapi.bundle _otapi.so _otapi.bundle otapi.dylib _otapi.dylib ./SSL-Example/SFSocket.o OTAPI_python.o OpenTransactions.o OTServerConnection.o OTClient.o OTAPI.o _otapi.so _otapid.so
- cd testwallet && make -f Makefile.API PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib LANGUAGE=perl5 clean
- rm -f otapi.so otapi.bundle _otapi.so _otapi.bundle otapi.dylib _otapi.dylib ./SSL-Example/SFSocket.o OTAPI_perl5.o OpenTransactions.o OTServerConnection.o OTClient.o OTAPI.o otapi.bundle otapid.bundle
- cd testwallet && make -f Makefile.API PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib LANGUAGE=php5 clean
- rm -f otapi.so otapi.bundle _otapi.so _otapi.bundle otapi.dylib _otapi.dylib ./SSL-Example/SFSocket.o OTAPI_php.o OpenTransactions.o OTServerConnection.o OTClient.o OTAPI.o otapi.so otapid.so
- cd testwallet && make PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib clean
- rm -f SSL-Example/SFSocket.o OpenTransactions.o OTServerConnection.o OTClient.o testclient.o testwallet.exe testwallet.debug
- cd testwallet && make PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib TRANSPORT=ZMQ clean
- rm -f SSL-Example/SFSocket.o OpenTransactions.o OTServerConnection.o OTClient.o xmlrpcxx_client.o testwallet.exe testwallet.debug
- cd util/otcreatemint && make PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib clean && touch ../../transaction/data_folder/createmint.tmp && rm ../../transaction/data_folder/createmint.*
- rm -f main.o createmint.exe createmint.debug
- cd util/signcontract && make PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib clean && touch ../../testwallet/data_folder/signcontract.tmp && rm ../../testwallet/data_folder/signcontract.*
- rm -f main.o signcontract.exe signcontract.debug
- cd OTLib && make PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o bigint/BigUnsigned.o bigint/BigUnsigned.cc
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o bigint/BigInteger.o bigint/BigInteger.cc
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o bigint/BigIntegerAlgorithms.o bigint/BigIntegerAlgorithms.cc
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o bigint/BigUnsignedInABase.o bigint/BigUnsignedInABase.cc
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o bigint/BigIntegerUtils.o bigint/BigIntegerUtils.cc
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o Lucre/bankimp.o Lucre/bankimp.cpp
- Lucre/bankimp.cpp: In static member function ‘static void Bank::cb(int, int, void*)’:
- Lucre/bankimp.cpp:135: warning: value computed is not used
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o irrxml/irrXML.o irrxml/irrXML.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTData.o OTData.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTString.o OTString.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTStringXML.o OTStringXML.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTASCIIArmor.o OTASCIIArmor.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTContract.o OTContract.cpp
- OTContract.cpp: In member function ‘bool OTContract::InsertNym(const OTString&, const OTString&)’:
- OTContract.cpp:2206: warning: unused variable ‘bSuccessSetID’
- OTContract.cpp:2213: warning: unused variable ‘bSuccessSetID’
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTWallet.o OTWallet.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTSignedFile.o OTSignedFile.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTPseudonym.o OTPseudonym.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTMint.o OTMint.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTInstrument.o OTInstrument.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTCheque.o OTCheque.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTPurse.o OTPurse.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTLog.o OTLog.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTToken.o OTToken.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTTransactionType.o OTTransactionType.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTItem.o OTItem.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTBasket.o OTBasket.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTTransaction.o OTTransaction.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTLedger.o OTLedger.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTAccount.o OTAccount.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTEnvelope.o OTEnvelope.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTAssetContract.o OTAssetContract.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTServerContract.o OTServerContract.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTOffer.o OTOffer.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTAgreement.o OTAgreement.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTTrackable.o OTTrackable.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTCron.o OTCron.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTCronItem.o OTCronItem.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTTrade.o OTTrade.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTPaymentPlan.o OTPaymentPlan.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTMarket.o OTMarket.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTPayload.o OTPayload.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTMessage.o OTMessage.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTMessageBuffer.o OTMessageBuffer.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTIdentifier.o OTIdentifier.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTAsymmetricKey.o OTAsymmetricKey.cpp
- OTAsymmetricKey.cpp: In function ‘int default_pass_cb(char*, int, int, void*)’:
- OTAsymmetricKey.cpp:361: warning: deprecated conversion from string constant to ‘char*’
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTSignature.o OTSignature.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTStorage.o OTStorage.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o OTDataCheck.o OTDataCheck.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o Generics.pb.o Generics.pb.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o Markets.pb.o Markets.pb.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o Bitcoin.pb.o Bitcoin.pb.cpp
- g++ -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o Moneychanger.pb.o Moneychanger.pb.cpp
- gcc -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o easyzlib.o easyzlib.c
- gcc -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o mkcert.o mkcert.c
- mkcert.c: In function ‘mkcert’:
- mkcert.c:122: warning: pointer targets in passing argument 4 of ‘X509_NAME_add_entry_by_txt’ differ in signedness
- mkcert.c:124: warning: pointer targets in passing argument 4 of ‘X509_NAME_add_entry_by_txt’ differ in signedness
- gcc -I/opt/local/include -I./irrxml -I./Lucre -I./bigint -I./simpleini -I./ -Wall -c -o simpleini/ConvertUTF.o simpleini/ConvertUTF.c
- ar rc libOTLib.a bigint/BigUnsigned.o bigint/BigInteger.o bigint/BigIntegerAlgorithms.o bigint/BigUnsignedInABase.o bigint/BigIntegerUtils.o Lucre/bankimp.o irrxml/irrXML.o OTData.o OTString.o OTStringXML.o OTASCIIArmor.o OTContract.o OTWallet.o OTSignedFile.o OTPseudonym.o OTMint.o OTInstrument.o OTCheque.o OTPurse.o OTLog.o OTToken.o OTTransactionType.o OTItem.o OTBasket.o OTTransaction.o OTLedger.o OTAccount.o OTEnvelope.o OTAssetContract.o OTServerContract.o OTOffer.o OTAgreement.o OTTrackable.o OTCron.o OTCronItem.o OTTrade.o OTPaymentPlan.o OTMarket.o OTPayload.o OTMessage.o OTMessageBuffer.o OTIdentifier.o OTAsymmetricKey.o OTSignature.o OTStorage.o OTDataCheck.o Generics.pb.o Markets.pb.o Bitcoin.pb.o Moneychanger.pb.o easyzlib.o mkcert.o simpleini/ConvertUTF.o
- cd transaction && make PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib TRANSPORT=ZMQ
- g++ -I/opt/local/include -I../OTLib/irrxml -I../OTLib -I./SSL-Example -I../OTLib/simpleini -I. -DOT_ZMQ_MODE -c -o OTClientConnection.o OTClientConnection.cpp
- g++ -I/opt/local/include -I../OTLib/irrxml -I../OTLib -I./SSL-Example -I../OTLib/simpleini -I. -DOT_ZMQ_MODE -c -o OTServer.o OTServer.cpp
- g++ -I/opt/local/include -I../OTLib/irrxml -I../OTLib -I./SSL-Example -I../OTLib/simpleini -I. -DOT_ZMQ_MODE -c -o xmlrpcxx_server.o xmlrpcxx_server.cpp
- cc -I/opt/local/include -I../OTLib/irrxml -I../OTLib -I./SSL-Example -I../OTLib/simpleini -I. -DOT_ZMQ_MODE -c -o ./SSL-Example/SFSocket.o ./SSL-Example/SFSocket.c
- g++ -L/opt/local/lib -L../OTLib -lssl -lcrypto -lOTLib -lssl -lcrypto -lOTLib -lssl -lcrypto -lOTLib -lssl -lcrypto -lprotobuf -lmsgpack -lzmq -lOTLib -o transaction.exe OTClientConnection.o OTServer.o xmlrpcxx_server.o SSL-Example/SFSocket.o
- cd testwallet && make -f Makefile.API PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib TRANSPORT=ZMQ LANGUAGE=c clean
- rm -f otapi.so otapi.bundle _otapi.so _otapi.bundle otapi.dylib _otapi.dylib ./SSL-Example/SFSocket.o OpenTransactions.o OTServerConnection.o OTClient.o OTAPI.o libOTAPI.a libOTAPId.a
- cd testwallet && make -f Makefile.API PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib TRANSPORT=ZMQ LANGUAGE=php5 clean
- rm -f otapi.so otapi.bundle _otapi.so _otapi.bundle otapi.dylib _otapi.dylib ./SSL-Example/SFSocket.o OTAPI_php.o OpenTransactions.o OTServerConnection.o OTClient.o OTAPI.o otapi.so otapid.so
- cd testwallet && make -f Makefile.API PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib TRANSPORT=ZMQ LANGUAGE=php5
- cp OTAPI_php.h OTAPI_wrap.h
- g++ -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/opt/local/include -I../OTLib/irrxml -I../OTLib -I./SSL-Example -I../OTLib/simpleini -I. -m64 -fPIC -DOT_ZMQ_MODE -c -o OTAPI_php.o OTAPI_php.cpp
- g++ -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/opt/local/include -I../OTLib/irrxml -I../OTLib -I./SSL-Example -I../OTLib/simpleini -I. -m64 -fPIC -DOT_ZMQ_MODE -c -o OpenTransactions.o OpenTransactions.cpp
- g++ -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/opt/local/include -I../OTLib/irrxml -I../OTLib -I./SSL-Example -I../OTLib/simpleini -I. -m64 -fPIC -DOT_ZMQ_MODE -c -o OTServerConnection.o OTServerConnection.cpp
- g++ -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/opt/local/include -I../OTLib/irrxml -I../OTLib -I./SSL-Example -I../OTLib/simpleini -I. -m64 -fPIC -DOT_ZMQ_MODE -c -o OTClient.o OTClient.cpp
- g++ -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/opt/local/include -I../OTLib/irrxml -I../OTLib -I./SSL-Example -I../OTLib/simpleini -I. -m64 -fPIC -DOT_ZMQ_MODE -c -o OTAPI.o OTAPI.cpp
- cc -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/opt/local/include -I../OTLib/irrxml -I../OTLib -I./SSL-Example -I../OTLib/simpleini -I. -m64 -fPIC -DOT_ZMQ_MODE -c -c -o SSL-Example/SFSocket.o SSL-Example/SFSocket.c
- g++ -L/opt/local/lib -L../OTLib -m64 -bundle_loader /usr/libexec/apache2/libphp5.so -flat_namespace -bundle -lssl -lcrypto -lOTLib -lssl -lcrypto -lOTLib -lssl -lcrypto -lOTLib -lssl -lcrypto -lprotobuf -lmsgpack -lzmq -lOTLib -o otapi.so OTAPI_php.o OpenTransactions.o OTServerConnection.o OTClient.o OTAPI.o ./SSL-Example/SFSocket.o
- ld: warning: duplicate dylib /opt/local/lib/libz.1.dylib
- cd util/otcreatemint && make PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib && cp ./createmint.exe ../../transaction/data_folder/createmint.exe
- g++ -I/opt/local/include -I../../OTLib/irrxml -I../../OTLib/simpleini -I../../OTLib -I./ -c -c -o main.o main.cpp
- g++ -L/opt/local/lib -L../../OTLib -lssl -lcrypto -lprotobuf -lmsgpack -lOTLib -o createmint.exe main.o
- cd util/signcontract && make PLATFORM=darwin SSL_INCLUDEDIRS=-I/opt/local/include SSL_LIBDIRS=-L/opt/local/lib && cp ./signcontract.exe ../../testwallet/data_folder/signcontract.exe
- g++ -I/opt/local/include -I../../OTLib/irrxml -I../../OTLib -I../../OTLib/simpleini -I./ -c -c -o main.o main.cpp
- g++ -L/opt/local/lib -L../../OTLib -lssl -lcrypto -lprotobuf -lmsgpack -lOTLib -o signcontract.exe main.o
- ~/Projects/Open-Transactions
- >
- ~/Projects/Open-Transactions
- > cd testwallet
- ~/Projects/Open-Transactions/testwallet
- > cat test.php
- <?php
- require_once "otapi.php";
- $wallet_path = "/Users/au/Projects/Open-Transactions/testwallet/data_folder";
- $ot_init = otapi.OT_API_Init($wallet_path);
- $switch_wallet = otapi.OT_API_SwitchWallet($wallet_path, "wallet.xml");
- echo "OT_API_Init => " . var_dump($ot_init);
- echo "OT_SwitchWallet => " . var_dump($switch_wallet);
- ?>
- ~/Projects/Open-Transactions/testwallet
- >
- ~/Projects/Open-Transactions/testwallet
- > php test.php
- Warning: dl(): Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/otapi.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/otapi.so, 9): image not found in /Users/au/Projects/Open-Transactions/testwallet/otapi.php on line 22
- Fatal error: Call to undefined function OT_API_Init() in /Users/au/Projects/Open-Transactions/testwallet/test.php on line 6
- ~/Projects/Open-Transactions/testwallet
- >
- ~/Projects/Open-Transactions/testwallet
- > sudo cp otapi.so /usr/lib/php/extensions/no-debug-non-zts-20090626/otapi.so
- ~/Projects/Open-Transactions/testwallet
- >
- ~/Projects/Open-Transactions/testwallet
- > php test.php
- Expected a data_folder path, and a wallet filename, but got this: /Users/au/Projects/Open-Transactions/testwallet/data_folder/
- Make sure to call LoadWallet.
- Loading wallet: , version: 1.0
- ** Pseudonym ** (wallet listing): FT's Test Nym
- ID: T1Q3wZWgeTUoaUvn9m1lzIK5tn5wITlzxzrGNI8qtaV
- Successfully loaded public key from x509 from certfile: certs/T1Q3wZWgeTUoaUvn9m1lzIK5tn5wITlzxzrGNI8qtaV
- Using 'test' pass phrase for "(null)"
- Successfully loaded private key:
- certs/T1Q3wZWgeTUoaUvn9m1lzIK5tn5wITlzxzrGNI8qtaV
- Successfully loaded public key from Certfile: certs/T1Q3wZWgeTUoaUvn9m1lzIK5tn5wITlzxzrGNI8qtaV
- Successfully loaded private key from: certs/T1Q3wZWgeTUoaUvn9m1lzIK5tn5wITlzxzrGNI8qtaV
- Collecting message digest algorithm from contract header...
- Skipping version section...
- Loading user, version: 1.0 NymID:
- T1Q3wZWgeTUoaUvn9m1lzIK5tn5wITlzxzrGNI8qtaV
- Current Request Number is 154 for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2019 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2020 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2021 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2022 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2023 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2024 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2025 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2026 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2027 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2030 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2031 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2032 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2033 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2034 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Transaction Number 2035 available for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2019, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2020, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2021, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2022, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2023, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2024, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2025, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2026, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2027, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2030, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2031, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2032, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2033, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2034, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Currently liable for Transaction Number 2035, for ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Collecting message digest algorithm from contract header...
- Skipping version section...
- ===> Loading XML for Message into memory structures...
- Command: sendUserMessage
- NymID: T1Q3wZWgeTUoaUvn9m1lzIK5tn5wITlzxzrGNI8qtaV
- NymID2: T1Q3wZWgeTUoaUvn9m1lzIK5tn5wITlzxzrGNI8qtaV
- ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Request #: 100
- Collecting message digest algorithm from contract header...
- Skipping version section...
- ===> Loading XML for Message into memory structures...
- Command: outmailMessage
- NymID: T1Q3wZWgeTUoaUvn9m1lzIK5tn5wITlzxzrGNI8qtaV
- NymID2: T1Q3wZWgeTUoaUvn9m1lzIK5tn5wITlzxzrGNI8qtaV
- ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Request #: 100
- ****Asset Contract**** (server listing) Name: silver grams
- Contract ID:
- BgYAQB0KIlkVt4vE8cbBcCA9onXYkaQK7CMNCoxeiOp
- Collecting message digest algorithm from contract header...
- Skipping version section...
- ===> Loading XML portion of asset contract into memory structures...
- Digital Asset Contract: silver grams
- Contract version: 1.0
- ----------
- Loaded Entity, shortname:
- Longname: The Gnomes of Zurich, email: [email protected]
- ----------
- Loaded Issue company: Anon-E-Gold, Inc
- Email: [email protected]
- ContractURL: https://e-silver.com/cash/contract/
- Type: currency
- ----------
- Loaded Currency, Name: silver grams, TLA: GRAM, Symbol: sg
- Type: decimal, Factor: 1, Decimal Power: 0, Fraction: mg
- ----------
- ---- Loaded condition "backing"
- ---- Loaded condition "audit"
- ---- Loaded condition "purchase"
- ---- Loaded condition "redemption"
- ---- Loaded condition "rate"
- ---- Loaded condition "buyback"
- ---- Loaded condition "liability"
- ---- Loaded condition "mint"
- ---- Loaded condition "privacy"
- Reading public key from x509 stored in bookended string...
- Successfully extracted a public key from an x509 certificate.
- ---- Loaded certificate "contract"
- ---- Loaded public key "certification"
- ---- Loaded public key "serverCertification"
- Contract ID *SUCCESSFUL* match to SAMY hash of contract file:
- BgYAQB0KIlkVt4vE8cbBcCA9onXYkaQK7CMNCoxeiOp
- Verified -- The Contract ID from the wallet matches the newly-calculated hash of the contract file.
- Verified -- A standard "contract" Public Key or x509 Cert WAS found inside the contract.
- Verified -- And the **SIGNATURE VERIFIED** with THAT key.
- ** Asset Contract Verified **
- -----------------------------------------------------------------------------
- ****Notary Server (contract)**** (wallet listing): Localhost Server Contract
- ServerID:
- 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Collecting message digest algorithm from contract header...
- Skipping version section...
- ===> Loading XML portion of server contract into memory structures...
- Notary Server Name: Localhost Server Contract
- Contract version: 1.0
- ----------
- Loaded Entity, shortname:
- Longname: Transactions.com, LLC, email: [email protected]
- ----------
- Notary Server connection info:
- --- Hostname: localhost
- --- Port: 7085
- --- URL:https://transactions.com/vers/1/
- ---- Loaded condition "backing"
- ---- Loaded condition "audit"
- ---- Loaded condition "rate"
- ---- Loaded condition "liability"
- ---- Loaded condition "mint"
- ---- Loaded condition "privacy"
- Reading public key from x509 stored in bookended string...
- Successfully extracted a public key from an x509 certificate.
- ---- Loaded certificate "contract"
- ---- Loaded public key "certification"
- ---- Loaded public key "serverCertification"
- Contract ID *SUCCESSFUL* match to SAMY hash of contract file:
- 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Verified -- The Contract ID from the wallet matches the newly-calculated hash of the contract file.
- Verified -- A standard "contract" Public Key or x509 Cert WAS found inside the contract.
- Verified -- And the **SIGNATURE VERIFIED** with THAT key.
- ** Server Contract Verified **
- -----------------------------------------------------------------------------
- --------------------------------------------------------------------------
- ****Account**** (wallet listing) name: ISSUER-Silver
- AccountID: RXIxc2GgZjMyGmoImahTGpOEM5MJZGyxYGiydCcDiiq
- ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Collecting message digest algorithm from contract header...
- Skipping version section...
- Account Type: issuer
- AccountID: RXIxc2GgZjMyGmoImahTGpOEM5MJZGyxYGiydCcDiiq
- UserID: T1Q3wZWgeTUoaUvn9m1lzIK5tn5wITlzxzrGNI8qtaV
- AssetTypeID: BgYAQB0KIlkVt4vE8cbBcCA9onXYkaQK7CMNCoxeiOp
- ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- BALANCE -- -100000
- DATE -- 1307384552
- --------------------------------------------------------------------------
- ****Account**** (wallet listing) name: FT's Test Acct
- AccountID: tcncZDMkXZ16WjoDNbP7uJGoH1fHh3Fu1ACXGuOxvMC
- ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- Collecting message digest algorithm from contract header...
- Skipping version section...
- Account Type: simple
- AccountID: tcncZDMkXZ16WjoDNbP7uJGoH1fHh3Fu1ACXGuOxvMC
- UserID: T1Q3wZWgeTUoaUvn9m1lzIK5tn5wITlzxzrGNI8qtaV
- AssetTypeID: BgYAQB0KIlkVt4vE8cbBcCA9onXYkaQK7CMNCoxeiOp
- ServerID: 8dlRJnGCjqU5jw7bZaw2AF112UrCZiFfBS9CnJrMWSp
- BALANCE -- 99902
- DATE -- 1307384987
- string(6) "otapi0"
- OT_API_Init => string(6) "otapi1"
- OT_SwitchWallet =>
- ~/Projects/Open-Transactions/testwallet
- >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement