Git Product home page Git Product logo

blockcrawler's Introduction

Block Crawler Instructions

Ensure that you have the following files:

	block_crawler.php - The home page for the script.
	block_crawler.css - The CSS Style Sheet for the script.
	bc_layout.php - This file contains most of the php.html used to render the site.
	bc_daemon.php - This file contains fucntions for interacting with the daemon.


Find the bc_daemon.php and open it in your text editor or PHP IDE.  At the
top you will find the following code:

/******************************************************************************
	Wallet Configuration
******************************************************************************/
	$GLOBALS["wallet_ip"] = "127.0.0.1";
	$GLOBALS["wallet_port"] = "8332";
	$GLOBALS["wallet_user"] = "username";
	$GLOBALS["wallet_pass"] = "password";
	
It is important to replace these values with the correct information for your daemon.

The daemon will worh with RPCSSL configured if your version of cURL supports it.

Here are some sample entries for the value $GLOBALS["wallet_ip"]:

	"127.0.0.1" - This will communitcate with the daemon in clear text
	"http://127.0.0.1" - This is also an unencrypted connection
	"https://127.0.0.1" - This will connect to the wallet using SSL encryption.

Once you have made these changes upload the files to your server. You should be ready to go.

/*****************************************************************************
	Updated 07/08/2013
*****************************************************************************/
	-Added file bc_api.php

		This file contains a pass through request API that allows a user or 
		remote script to query the Block Crawler directly for information about the 
		status of the network and the daemon.

blockcrawler's People

Contributors

callmejake avatar ddombrowsky avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.